WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to change installation directory (9 posts)

  1. copywrite2012
    Member
    Posted 3 years ago #

    Hi all I have an installation in mydomain.com/myfolder/ I want to move the installation to mydomain.com

    Can I just move the folders:
    wp-admin
    wp-content
    wp-includes

    from myfolder to mydomain.com root? Will that work? Thank you

  2. Yes, but follow these instructions Moving WordPress « WordPress Codex

  3. copywrite2012
    Member
    Posted 3 years ago #

    Thanks that looks like the way to do that, however, I am wondering whether it would jst be simpler to reinstall wp as I don't have any posts at the moment. If I was to unistall and resintall then I am worried about the 4 folders of content and 5 php files I have in the site root that I don't want to overwrite when I reinstall wp. Will they be unaffected if I install wp in the site root? Thanks

  4. ronmerk
    Member
    Posted 3 years ago #

    Hi Copywrite:

    Just check the names of the existing files in your route directory to make sure they're not the same as any WP files.

    The likely hood is pretty slim ...ones to check for though are index.php, which WP uses.

    Assuming you have no directory or file name conflicts, you should be find in the new install. (and yes, it's simpler and easier to re-install if you have no posts etc than to move an existing install)

    Good luck

  5. Back them up first. If they don't have the same names as WP files or folders, they won't be deleted.

  6. copywrite2012
    Member
    Posted 3 years ago #

    OK that is good news thanks, I'll delete the already installed wp files and install the new version.
    First I'll block off access to the index page, it only seems to give me options to make posts private not my main index page which is important. Where can I find how to make my index page private? Thanks

  7. First I'll block off access to the index page, it only seems to give me options to make posts private not my main index page which is important. Where can I find how to make my index page private?

    Try this plugin:

    http://wordpress.org/extend/plugins/registered-users-only/

  8. copywrite2012
    Member
    Posted 3 years ago #

    That looks perfect! Thanks all

  9. You're welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic