Changing the WordPress Directory

You may want to change the location of your WordPress blog after you have installed it. For example, you might decide to move your WP install from blog.yourdomain.com to yourdomain.com, or yourdomain.com to yourdomain.com/journal. This quick guide will show you the easy step-by-step process of moving your blog to another location.

  1. If you will be moving your blog to a directory other than the main directory (yourdomain.com), you will need to create the directory using cPanel's File Manager. If you want to use a subdomain (subdomain.yourdomain.com, blog.yourdomain.com, etc) you will need to create the subdomain in cPanel.
  2. Log in to your WordPress administrative control panel. Click Settings, then General.
  3. Find the field labeled "WordPress Address (URL)" and change the address to the new location.
  4. Find the field labeled "Site Address (URL)" and change the address to the new location.
  5. Click "Save Changes". Do not proceed to step 6 until steps 1-5 are completed. It is crucial that you follow the order in this guide!
  6. Move the WordPress Core Files (including the subdirectories) to the new directory,
  7. Test your site by loading yourdomain.com/wp-login.php and logging in.
  8. Update your Permalink structure, if you were using Permalinks already.
  9. Verify that file permissions are correct. "0000" permissions should be changed to "0644".
  10. If you are using menus, you might need to update them in the Appearance control panel.
  11. Previously uploaded media and links in your posts will be pointed at the old file structure. This can be done manually in the database, or you can use a plugin such as Velvet Blues Update URLs.
  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

How to make WordPress show as Secure in Google Chrome

In order to make your WordPress installation show as Secure in Google Chrome, you'll need ensure...

Temporary URLs in WordPress

To use your Temporary URL with a WordPress installation, you will need to edit the Windows Hosts...

WordPress Optimization

Optimizing your scripts can keep your server and website loading quickly for your visitors. These...

Fixing the Internal Server Error in WordPress

There are a few possible causes of the 500 Internal Server Error. It is not always due to...

WordPress Administrative Login

You can control your WordPress install via the administration panel. You can access it at this...