Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

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

like image 423
marky Avatar asked Dec 08 '11 01:12

marky


People also ask

Which folder in a WordPress install is?

All WordPress plugins you download and install on your site are stored in /wp-content/plugins/ folder.

Where is the WP content folder?

Typically you will see the wp-content folder somewhere in the right panel of the web page straight away. If you cannot see a folder in the panel called wp-content , you may be able to find it in a different location in the left panel, such as: / public_html , /home/your_account_name , or /wordpress .


1 Answers

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.

like image 180
Groovetrain Avatar answered Oct 05 '22 02:10

Groovetrain