Difference between revisions of "R4L/Services/Hosting/Advanced/MoveWordPress"

From R4L Help Wiki
< R4L‎ | Services‎ | Hosting‎ | Advanced
Jump to: navigation, search
(Created page with "= How to Move a WordPress from a Sub-Directory to the Root = When you install WordPress using the cPanel's Softaculous installer, it will by default suggest you install the ...")
 
 
Line 20: Line 20:
  
 
== Remove the Old Site, Move Your WordPress Site ==
 
== Remove the Old Site, Move Your WordPress Site ==
 +
You will be connecting to the server either using FTP or the cPanel's File Manager
 +
# If you want to keep a backup of your old website on the server, we recommend you create a directory called "old_site", and move everything except the /wp directory to this new folder.
 +
# If you are using the File Manager within cPanel, go to '''Settings''' in the '''Prefenences''' window and select the checkbox '''Show Hidden Files'''.
 +
# Once you have confirmed that your backups have completed downloading, move everything that is in the sub-directory to the /public_html folder.
 +
# Once the files are moved, you can delete the sub-directory
 +
 +
== Log in and Update the URL Details ==
 +
# Log into your WordPress dashboard on your domain name with /wp-admin appended to it.
 +
# Go to Settings -> Permalinks, choose '''Plain''' and click the blue Save Changes button.
 +
# We recommend you then select Post Name, and click Save Changes again.  This makes your site URLs more readable, and better for indexing by search engines.

Latest revision as of 16:26, 21 February 2017

Contents

How to Move a WordPress from a Sub-Directory to the Root

When you install WordPress using the cPanel's Softaculous installer, it will by default suggest you install the package in the /wp direcotory.  That can be useful if you have an existing site and ant to keep your new WordPress based site hidden while you work on it.  When you have finished, you may want to move it to the root /public_html directory.

Backup Your Site

To back up your website, we recommend you use the Backup Wizard in the cPanel.

  1. Log into to manage your domain name
  2. Go to Paid Hosting > Manage Advanced Hosting to open the cPanel.
  3. In the Files section, Click on Backup Wizard, and then the blue Backup button
  4. Click the Home Directory button, and then the blue Home Directory button.
  5. Click back on your browser to return to the Backup page
  6. Click on MySQL Databases, and then the link for each database name.
  7. All of these files will be downloaded to the folder where your downloads are normally saved.

Get your WordPress Site Ready to Move

  1. Log into your WordPress dashboard. This should be on yourdomain.com/wp/wp-admin (assuming WordPress in installed in the /wp directory.
  2. Go to menu for Settings and click on General
  3. Look for WordPress Address (URL) and Site Address (URL), and remove the directory name so that it is just your domain name, and click the blue Save.
  4. You will see an error message page "Not Found - The requested URL /wp-login.php was not found on this server." Do not be alarmed, that is normal.

Remove the Old Site, Move Your WordPress Site

You will be connecting to the server either using FTP or the cPanel's File Manager

  1. If you want to keep a backup of your old website on the server, we recommend you create a directory called "old_site", and move everything except the /wp directory to this new folder.
  2. If you are using the File Manager within cPanel, go to Settings in the Prefenences window and select the checkbox Show Hidden Files.
  3. Once you have confirmed that your backups have completed downloading, move everything that is in the sub-directory to the /public_html folder.
  4. Once the files are moved, you can delete the sub-directory

Log in and Update the URL Details

  1. Log into your WordPress dashboard on your domain name with /wp-admin appended to it.
  2. Go to Settings -> Permalinks, choose Plain and click the blue Save Changes button.
  3. We recommend you then select Post Name, and click Save Changes again. This makes your site URLs more readable, and better for indexing by search engines.