How to Configure WordPress to Use Temporary URL?

0
293

WordPress is a CMS application used by most of the developers around the world which can be installed and accessed through a domain name. When the customers move to a new server or want to check their website before updating DNS records, they may face some complexity by the default URL settings.

To overcome this issue, there is an easy way to change the URL of the website to check it’s status by making a simple change on the WordPress configuration, which will allow the user to access the website with a temporary URL before pointing to a new server. This will help the user to double check the website that is perfectly the same as before. Here we will explain to you, how to configure WordPress using a temporary URL.

Steps to Configure WordPress to Use Temporary URL via cPanel:

Follow the below steps to configure WordPress to use a temporary URL.

Step 1: Login to your cPanel.


Step 2: Go to the File Manager under the FILES section and locate the wp-config.php file.


Step 3: Right click on the file of wp-config.php and click on the edit button on the list.


Step 4: On the next window, you can see the coding part of the WordPress site. Locate the lines which specify WP_HOME and WP_SITEURL. If the lines are not there, you need to add new lines. Enter the following lines in your coding part.

define(‘WP_HOME’ , ‘Enter your temporary URL here’);
define(‘WP_SITEURL’ , ‘Enter your temporary URL here’);

After editing, click on Save Changes button on the top right corner to save the URLs. Now you can access the website using the mentioned URL. Remove these two lines once the domain is pointed to the new server.

We hope that this tutorial will help you to use the temporary URL for the WordPress website. For more information, Follow us on Facebook and Twitter. For video tutorials, subscribe to our YouTube channel ServerCake India.

LEAVE A REPLY

Please enter your comment!
Please enter your name here