In default Wordpress configuration you cannot use temporary URL to access your website. But if you want to use temporary URL then you have to do little bit changes in wp-config.php file.
For that you can follow below steps:
For that you can follow below steps:
- Login to cpanel.
- Click on “File manager” under “Files” section.
- Here click on “public_html” folder and you can see the wp-config.php file.
- You have to take backup of your file and then start modification of this file.
- Open wp-config.php file after right click on it and then click on “Edit”.
- Add below code in file:
Code:
define('WP_HOME','http://mydomain.com');
define('WP_SITEURL', ‘http://mydomain.com');
- After making changes save your file.
- You can access your website using the URL mentioned in above URL.