Support » Fixing WordPress » Moving WordPress closer to root

  • Like a moron I created a folder called Blog before uploading wordpress to it so now have this situation:

    Is there a way of moving everything closer to the root so that wordpress replaces blog. I tried moving the folder up a level, but then things go wrong and I can’t access the admin panel, etc.,

    And if it’s not pushing my luck, could the blog index be my actual homepage?

    Thank you!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Just before moving the file up one directory, change the WordPress and Blog address setting under Options > General.

    Er, that would be moving the files.

    Thanks Kaf, I did that and WordPress is now up a level 🙂

    Now something strange happens. If I rename WordPress directory to another name the files within the directory disappear. When I revert the name to WordPress they come back. Does this mean I cannot change the name of that directory?

    I want to delete the now empty directory called Blog and rename the wordpress directory Blog. But when I do this the files disappear and files cannot be found by the browser.

    Have you changed your blog URI in the admin panel to reflect the new address?

    Yes, the website works fine at:

    But I can’t rename the wordpress directory without the wordpress files in the directory vanishing.

    If I change the blog address in the admin panel to:

    do I also need to move some files? At the moment it doesn’t work with the index.php still in the WordPress directory

    If you move your wordpress files (index.php and etc), then you ultimately have as your wordpress folder. In this case, normall it’d be your public_html/ folder.

    So there is no need for the folder public_html/wordpress/ to exist if you move everything contained in the folder wordpress to public_html/. This is just moving up a level like you said.

    And with accordance, you need to change your WordPress address and Blog address (as well as your URI) to your

    I moved mine from ->

    This is something I want to do as well, so to recap…

    First, rename “WordPress address” to match the desired location ( or, etc.)

    Then, move all the files to the new location, correct?

    Also, what about “Blog address” ? How does that work?

    If you reach your blog at, that’s what you put in “Blog address”. “WordPress address” is almost always the same thing, but you can (and some do) locate their WordPress installation and their blog in separate directories. But that’s a tiny bit more complicated than the instructions listed in this thread.

    Thank you Kaf. As for making the move itself…is what I described correct?
    (rename the addresses and then move the files) If so, will I be “done” or is there more tweeks to be made before it works?

    That’s really all there is to it; unless you’ve hardcoded a filepath in your templates or whatnot, you should be fine. Normally, about the only thing you may have to fix later is any links to posts on your blog within other posts. Images or other media (within posts) may be an issue as well, unless you have a separate, non-WP directory set up for these (say

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Moving WordPress closer to root’ is closed to new replies.