Loading...

Knowledge Base

How Do I Get the WordPress Home Path To Transfer From Another Hosting Provider

The process of transferring your WordPress website from another hosting provider may sound intimidating, with all the information needed to complete the process. One of the information needed when migrating your site is your WordPress Home Path. We’ll guide you how to get it with simple steps in this article.

Here’s how you can get it if you want to migrate files via FTP:

If you want to use FTP connection to migrate your website files, you will need to specify the relative path to the directory where the website files are stored. For example, if you want to migrate a WordPress site from cPanel, in most cases you will need to use the path /public_html. If your website files are stored in another folder, please specify the actual relative path to them.

If you want to migrate files via SSH/SFTP, please follow the below instructions:

  1. Create a file with name "example_name_of_script.php" that contains the following:
    
    <?php echo dirname($_SERVER['SCRIPT_FILENAME']); ?>
    You can use another name, but the extension of the file need .php.
  2. Access your File Manager.
  3. On any of your FTP Manager, log in to the server and go to the directory where your WordPress is located.
  4. Upload the file, "example_name_of_script.php", there.
  5. Once uploaded, open http://yourdomainname/nameofyourfile.php and you will see your WordpPress site's home path.

That’s it! You should be able to locate your WordPress Home Path and start migrating your WordPress site from another hosting provider. Have you tried migrating your WordPress site successfully using the steps in this guide? If you need assistance or if you have questions, please contact us. We’d love to help!

Did you find this article helpful?

 
* Your feedback is too short

Loading...