Support » Installation » How to put WP files in different directory?

How to put WP files in different directory?

  • I’d like to put the WP files into a separate directory. I know in the feature list it says this is possible. However, using dreamhost’s one click install it doesn’t give ne that option. So my question is:

    will it be easy after the installation is complete to move the files to their own directory, or does it need to be done during installation which means I should skip the one click option and install WP myself?

    Thanks for any help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Naoko Takano


    Happiness Engineer at Automattic

    You should be able to install WordPress in a subdirectory of your domain with DreamHost installer.
    Use the Advanced mode and enter your subdirectory name after the “Install to:” dropdown.

    You can also move your site, but it’s probably easier to do the above if you haven’t worked much on your site.

    Hi, I got this directory thing working- but now the site’s search feature no longer works.

    It worked before, when both the site URL and file locations were the same:URL.com/blog

    but now that the site URL is just URL.com and the site files are still in URL.com/blog – the search only works from URL.com but not within the site anymore (ie. from URL.com/blog/pagename/)

    please help!

    ps. what happens when I do a search from URL.com/blog/pagename is that the URL redirects to URL.com/blog/?s=searchword and the the page says Error 404 page not found.

    i need the search to do it in URL.com/?s=searchword instead, not in the WP installation directory

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to put WP files in different directory?’ is closed to new replies.