Migrate WordPress to Another Folder
If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
Skip to main content

HostMonster Web Hosting Help

Migrate WordPress to Another Folder

Summary

This article explains how to move your WordPress website from one folder within your hosting account to another.



What You Need

Before you move your WordPress site, there are a few things you need to know:

  • The username and password to your HostMonster account.
  • A basic understanding of what files and folders are.
  • The current location (folder and URL) of your WordPress site.
  • The destination (folder and URL) of your WordPress site.
  • The username and password to your WordPress site. (Optional)

Access the File Manager

The File Manager on your account can be used to move or copy files on your server. You'll use it to move your WordPress files.

  1. Log in to your HostMonster control panel.
  2. Click the Hosting tab at the top.
  3. Then click the cPanel link under hosting.
  4. Scroll down to the Files section and click on the File Manager icon.
  5. Next, you may be asked to select a directory to open. If so, select Web Root and check the box to Show Hidden Files, then click Submit to proceed.

The File Manager will load and show you the files and directories in your account.

Copy The Files

Now that you are in the File Manager, you need to locate your files and copy them to the destination directory. The location of your files may vary, but your main site will be in the public_html directory. Other sites usually have their own folders inside the public_html directory.

It is highly recommended you copy the files rather than move them from the original location. Once the migration is complete and you have verified the site is working, you can remove the files in the old location. To complete the steps in this walkthrough, the files must be copied not moved.

  1. In the File Manager, navigate to the directory containing your WordPress site.
  2. Click the Select All icon.
    Note: If you have more than just WordPress files in your directory, you may want to deselect some files to avoid copying them.
  3. Once you the files have been selected, click Copy at the top of the screen.
  4. In the Copy popup, type the destination folder into the box next to the home icon.
  5. Click Copy File(s).
There isn't a progress bar to indicate if the copy was successful, so you'll need to go to the destination folder to confirm whether or not your files are there.
 

Update The URL (Optional)

Moving your website from one folder to another will change your URL unless you have adjusted the domain assignments to accommodate the change within your account. If you want to know more about domain assignments please, see Assigning an Addon or Parked Domain

Before changing the URL setting in your site, you must be certain the new URL is correct. Setting the wrong URL will break your WordPress site!

How do I find the correct URL?

Finding the correct URL isn't hard. A URL consists of a domain such as www.example.com. The domain is assigned to a folder in your account like public_html. When someone types "www.example.com" into the browser, the website will load from public_html folder. If there is a folder inside public_html containing a website the URL would be "www.example.com/folder-name", where folder-name is the name of the specific folder inside public_html.

For example: The domain example.com is assigned to public_html. If you move the WordPress site from public_html to the public_html/blog folder, the new URL of the WordPress site would be http://www.example.com/blog/

Follow these steps to update your WordPress URL:

  1. Log in to your WordPress site using the old URL.
    Note: Since the files were copied and not moved, your original site should still exist. You should not remove the original files until you have verified the site works in the new location.
  2. Hover over the Settings menu on the left side and click General.
  3. Under General Settings, enter the new URL for both the WordPress Address URL and Site Address (URL).
  4. Click Save Changes.
Once you click the Save Changes button, you will be redirected from WordPress to your website at the new location. Go ahead and test the site to make sure everything is working. If your images are no longer displaying properly, you may need to update more URLs in the database. The Velvet Blues plugin can help you update image URLs, if necessary.
Knowledgebase Article 240,448 views bookmark tags: migrate move velvet wordpress


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How to Migrate a self hosted copy of WordPress
Knowledgebase Article 819,162 views tags: migrate wordpress

How to manually migrate a WordPress site, not using ManageWP.
Knowledgebase Article 444,492 views tags: export import migrate wordpress

If you have a WordPress blog hosted on WordPress.com, you can easily export it and import it to WordPress that is installed on your hosting account with hostmonster. Login to the WordPress Data
Getting Started Article 703,314 views tags: blog export file import wordpress

Related Help Content

We are offering free website migrations for qualifying WordPress websites within the first 30 days after signup. The offer includes the transfer of one WordPress website and the ability to review the site before it goes live.
Knowledgebase Article 94,449 views tags: detail migrate migration offer site website wordpress wp

This article will explain how to change the Site URL or Home URL setting in WordPress. This may be useful if you have moved your WordPress site or are planning to move your WordPress site.
Knowledgebase Article 276,516 views tags: home site url wordpress wordpresstools

Instructions on how to migrate over via WordPress
Knowledgebase Article 248,568 views tags: transfer wordpress

How do I migrate an IMAP email account?
Knowledgebase Article 211,290 views tags: email imap migrate

WordPress Error: Unable to create directory /wp-content/uploads/2009/mydir/summer/ Is its parent directory writable by the server?
Knowledgebase Article 242,290 views tags: create unable wordpress

This article will explain how to login to a WordPress site using WordPress tools.
Knowledgebase Article 209,566 views tags: login wordpress wordpresstools

Learn how to use WordPress, WordPress started as just a blogging system, but has evolved to be used as full content management system and so much more through the thousands of plugins, widgets, and themes now available.
Knowledgebase Article 1,033,672 views tags: blog buildersonline website wordpress

WordPress Pro provides users with elevated server resources and customer support beyond what is expected in traditional shared hosting platforms.
Knowledgebase Article 148,758 views tags: details features hosting pricing pro shared wordpress wp

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here