Choosing a host for your WordPress page is one of the most important decisions you will make about your website. After all, the host you choose will affect not only functionality, but also your SEO prospects. This is why there is a good argument to be made that serious businesses should begin their websites on a high quality server. Even though some companies try “cutting corners” by starting out with a bottom-of-the-barrel hosting service, they ultimately pay for this decision with sub-optimal performance. Additionally, when these businesses do decide to upgrade, they face a bit of inconvenience when it comes to “switching over.” If you happen to be one of those business/website owners who still needs to switch over, however, there’s no need to panic. Switching hosts doesn’t have to be a huge ordeal. Here are a few simple steps to installing WordPress on your temporary URL–a simple action that can make the whole transitional process easier in a number of ways!
3 Steps to Installing WordPress on a temporary URL
Go to the WordPress root menu and open the WordPress configuration file (wp-config.php)
Log in to your file manager and select the WordPress configuration file and choose code edit.
There should be one line that looks something like:
define(‘DB_COLLATE’, ”);
Below this line, you will need to insert 2 new lines. You can copy and paste them from here, if you’d like:
define(‘WP_HOME’,’http://ehub##.example.com/~username’);
define(‘WP_SITEURL’,’http://ehub##.example.com/~username’);
Now, simply replace http://ehub##.example.com/~username with the temporary URL of your actual website.
Moving Forward
Now that your WordPress is on a temporary URL, you will be able to make changes without it affecting your actual, live WordPress website. This will allow you to develop the page and test important changes such as a hosting switch.