Okay, so I’m moving WordPress up from bweaver.net/wp to bweaver.net. Simpler.
The minor bits of content that was at bweaver.net will show up somewhere here soon.
Steps to Move WordPress Directory
There are a few simple steps to move the WP installation to another directory on the same server.
- Update your WordPress install to the latest version if needed or desired.
- Obligatory – Back up your database. Back up your files in both the original and, if something else is already there, the target directories.
- Move all files, including .htaccess, from the original directory to the target directory. Use an FTP app like FileZilla.
- In the WordPress database, browse the wp_options table. Find and edit the paths stored in siteurl and home option rows.
- Edit .htaccess and change any paths containing the old directory and point them to the new location.
- Under the Manage tab, search for the old path and edit any posts containing the old path to point to the new location.
- Edit any themes that might contain the old paths. They shouldn’t, but if they do, they will need to be tweaked.
That’s it.
This is what I did, but you might also want to read the WordPress codex article on Moving WordPress. Its instructions are similar, but covers changing databases, moving to other servers, etc.
One-Click Install Issue
Whoa. Everything is all well and good, but since this WordPress installation was made via Dreamhost‘s One-Click Install panel, I’ve got an entry pointing to the wrong path and no apparent method to point it to the new location.
The only reason this matters to me is to pick up the handy one-click upgrade when new WordPress releases are done. I’ve submitted a support question to see if there’s a way to handle this.
