0 items
24/7 Support & Sales   1300 210 210
Online Support Wordpress Hosting

How do I get the WordPress home path that I need to transfer from another hosting provider?

Transferring your WordPress site to a new WordPress hosting can easily be done with the help of the automatic migration tool. All you have to do is enter the necessary information to allow your new hosting provide to access your site and then authorise the transfer.

One of the data needed for the migration is your WordPress home path. Here’s how you can get it:

  1. Create a file with name "example_name_of_script.php" that contains the following:
  2.   <?php echo dirname($_SERVER['SCRIPT_FILENAME']); ?>  

    You can use another name, but the extension of the file need .php.

  3. Access your File Manager.
  4. On any of your FTP Manager, log in to the server and go to the directory where your WordPress is located.
  5. Upload the file, "example_name_of_script.php", there.

    Note: WordPress home directory is typically inside public_html or httpdoc folder.

  6. Once uploaded, open http://yourdomainname/nameofyourfile.php and you will see your WordpPress site's home path.

Congratulations! You just located your home path.

If you want to know what WordPress hosting is, click here.

Was this helpful? Yes No 100% of people found this helpful.