HostMonster Web Hosting Help

How to migrate a WordPress site

Overview

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

Tasks Involved

Click on any of the tasks to jump to that point in the guide.



What You Need

To move a WordPress site, you will need to know a few things about your site and your hosting account.

Required

  • 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.

Optional

  • The username and password to your WordPress site.

Access the File Manager

The File Manager on your account can be used to move or copy files on your server. We will use it to move your WordPress files.

  1. Login to your HostMonster account at https://my.HostMonster.com.
  2. Click the hosting tab at the top.
    The hosting tab.
    The hosting tab.
  3. Then click the cpanel link under hosting.
  4. Scroll down to the file management section and click on the File Manager icon.
    The File Manager icon.
    The File Manager icon.
  5. Next, you may be asked to select a directory to open. Select Web Root and check Show Hidden Files (dotfiles), then click Go to proceed.
    The Directory Selection popup.
    The Directory Selection popup.

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.
    The Select All icon.
    The Select All icon.
  3. Once you the files have been selected, click the Copy icon at the top of the screen.
    The copy icon.
    The copy icon.
  4. In the Copy popup, type the destination folder into the box next to the home icon.
    The copy destination folder.
    The copy destination folder.
  5. Click the Copy File(s) button.
    Note: There isn’t a progress bar to indicate if the copy was successful. You will need to go to the destination folder to confirm whether or not your files are there.
    The copy button.
    The copy button.
  6. 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. Login 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.
      The Wordpress General Settings link.
      The Wordpress General Settings link.
    3. Under General Settings, enter the new URL for both the WordPress Address URL and Site Address (URL)
      Note: It is critical that you enter the URL correctly. Entering the wrong URL will break the site.
      The WordPress URL settings.
      The WordPress URL settings.
    4. Click the Save Changes button.

    Once you click the Save Changes button, you will be redirected to the new URL and asked to login again. Go ahead and test the site to make sure everything is working. A common issue that occurs after moving a WordPress site is that images will stop displaying. If this happens, you likely need to update more URL's in the database. The velvet blues plugin can help you update image URLS Velvet Blues Update URLS

    Knowledgebase Article 324,027 views bookmark tags: migrate wordpress (updated 6 hours ago)


    Was this resource helpful?

    Did this resolve your issue?


    Please add any other comments or suggestions about this content:





    Recommended Help Content

    How to manually migrate a WordPress site, not using ManageWP. (updated 192 days ago)
    Knowledgebase Article 36,224 views tags: migrate wordpress

    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. (updated 6 days ago)
    Knowledgebase Article 312 views tags: home site url wordpress wordpresstools

    This article will show you how to access your WordPress site. (updated 111 days ago)
    Knowledgebase Article 9,525 views tags: access admin change dashboard edit login site wordpress

    Related Help Content

    How to move WordPress from one folder to another folder on the same server. (updated 514 days ago)
    Knowledgebase Article 29,997 views tags: 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 D (updated 118 days ago)
    Getting Started Article 252,460 views tags: blog export file import wordpress

    Instructions on how to migrate over via Wordpress (updated 755 days ago)
    Knowledgebase Article 58,302 views tags: transfer wordpress

    This article will explain how to login to a WordPress site using WordPress tools. (updated 16 hours ago)
    Knowledgebase Article 296 views tags: login wordpress wordpresstools

    My Wordpress site is slow or seems down. (updated 1544 days ago)
    Knowledgebase Article 72,526 views tags: wordpress

    This article explains how to deactivate, change or delete themes and plugins on a WordPress site without the dashboard. (updated 111 days ago)
    Knowledgebase Article 3,472 views tags: access dashboard deactivate disable plugin plugins theme themes wordpress

    I send an email to one person and then do a carbon copy (Cc) to multiple other people. Not everyone is receiving the email, even when I try using blind carbon copy (Bcc). (updated 755 days ago)
    Knowledgebase Article 71,333 views tags: blind carbon carboncc copy email mail multiple partial people persons receive receiving

    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. (updated 96 days ago)
    Knowledgebase Article 356,216 views tags: blog buildersonline website wordpress