Sometimes you might have your WordPress blog installed in a folder on your site. This could be intentional, like this blog is in the “blog” folder under Creative Patience, or accidental if you happened to type in a folder name when you installed WordPress through a cPanel. When building out new websites for a client, I typically create a temp folder on their site that will allow me to fully build out the site on their servers while not affecting their current websites. But once the design is done, I need to migrate the new site to the old one.
This is a step-by-step guide on how to move your WordPress site from a folder (where the address is www.yourdomain.com/folder) to your root directory (where the address is www.yourdomain.com).
You’ll need access to an FTP client. I’m using Adobe Dreamweaver CS3 but there are some free ones out there such as FileZilla.
Step 1: Login to your current WP Admin panel. Navigate to Settings > General.
Step 2: Under WordPress URL delete the folder name and the trailing / so that the final URL is http://www.yourdomain.com.
Step 3: Click Save Settings. Note that at this point your blog will not open or view. This is because you just pointed WordPress to your root directory, but we haven’t moved any of the files yet.
Step 4: Move all of the WordPress files to the root directory. There are a lot of files, so this transfer might take a minute (or ten.)
Step 5: Go to Settings > Media and if needed, edit the path in the “Store uploads” folder. If you find that you are missing images, you may need to update those links.
After that, your site should be up and running in the root directory.