When I installed WordPress on my home computer (for testing) I gave no real thought as to how it would be set up on my site should I decide to use it. You see, I’ve dabbled with a lot of CMS’s (Content Management Systems) and haven’t found anything I was particularly fond of. I was looking for something with which I could “hit the ground running,” and although a lot of them promise this, few deliver. Anyway, it should be obvious that WordPress was the “hit the ground running” winner.
Back to my original topic – So, to make things short(er) and sweet(er) I ended up adding WordPress to my site and now wanted to mimic my site’s configuration locally (on my home computer). I needed to do this so that my navigation system matched between my home computer server and the internet server (I always look at my site locally before uploading to the internet server). To that end, here’s what I did:
1. Moved the folder that contained all of the WordPress data into the correct parent folder. Originally, the folder was in the top level.
2. Renamed the folder to the correct name: WordPress became Blog.
3. Changed the .htacess file in the newly named folder to the correct subfolder location: WordPress/ became ParentFolder/Blog/ Note: This had to be changed twice in my .htaccess file.
4. Using phpMyAdmin (my favorite) I made changes to the database to reflect the move. Note: I did not rename the table.
Option table Changes:
- I changed the “siteurl” to the new folder.
- I changed “home” to the new folder.
- I have a modified theme, so I changed the “mods_Twenty Ten” to the new folder.
Hint: You can use phpMyAdmin to search for rows that contain the data that you want to change. Search the option_value fields for your old folder name (and remember to use %old folder name%).
That’s about all there is to changing your WordPress site location.
Oh, forgot one thing, if you have any links pointing to the old location in your favorite browser (Firefox !!!), make sure to change them (in properties) to point to the new location. Either that, or delete them and make new ones.