WordPress.org

Ready to get started?Download WordPress

Forums

How to put WP files in different directory? (4 posts)

  1. amandag
    Member
    Posted 3 years ago #

    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!

  2. 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.
    http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site

  3. maureenton
    Member
    Posted 3 years ago #

    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!

  4. maureenton
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic