Moving WordPress to Another Folder
I recently had to move WordPress from one folder to another on my server and it took me a lot of time figuring out exactly how to do it. I thought I would share how to change the WordPress directory for the next person who might need to do the same thing. With these three simple steps you’ll be moving WordPress around like a jetset with places to go:
1) The first thing that you should do is backup all the WordPress files onto your local drive and then move them to the new folder on your server.
2) The next thing that needs to be done is change all the references in the
.htaccessfile. It is a hidden file and should be located in the root folder for WordPress. There are a lot of instances refering to the folder structure in the
.htaccessfile so a simple find and replace function in a text editor should do the trick.
3) The last thing that needs to be done is change a few option values in the database for WordPress. The only tables that I found instances of the old folder structures that needed to be changed were in
- The topic ‘Moving WordPress to Another Folder’ is closed to new replies.