Change the folder name for the directory WordPress is installed in

I just installed WordPress in a subfolder on my site (http://www.example.com/wordpress/) and I want to change the folder name from “wordpress” to “blog”. I’ve already gone through the entire installation process, but have not made any customizations at all yet.

I tried just renaming the folder on the server, and the blog page does load, but some of the content was missing (the main, default header image, most notably), so I’m assuming there are other files that need to know the directory name as well.

Read More

If this is even feasible/possible without a complete reinstall, how do I change the folder name of a new WordPress installation?

Related posts

Leave a Reply

4 comments

  1. I’m pretty sure you have to also change it in the database before you go changing the folder name. Try going to settings->general in your wp-admin area and it’ll be one of the first few input fields there.

    So, change those two fields, save (the page might not come back however), then change the folder name.

    1. Login to WP admin dashboard
    2. Go to Settings >> General
    3. Change WordPress Address (URL) and Site Address (URL)
    4. Save. (After this step the page will refresh and throw an error)
    5. In FTP or local, change folder name