Temporary URL

Configure WordPress to use temporary URL

  1. To use your temporary URL with WordPress, simply install WordPress on the domain itself. Do not be concerned with the temporary URL yet.
  2. Next you will need to locate the wp-config.php file in file manager in cPanel. The wp-config.php file will be located in the root folder where you initially installed WordPress.filemgr-wp-config
  3. Next, you will need to right-click on the file and select "code edit".code-edit
  4. This will open the actual code of the file, and you will need to insert two lines of code to the top of the file to set your temporary URL as the way to access your WordPress installation.
    define('WP_HOME','http://IPADDERSS/~cPanelusername'); 
    define('WP_SITEURL','http://IPADDERSS/~cPanelusername');

    In your file, http://yourdomain.com/~cPanelusername will need to be replaced with your own temporary url.

    It should look like http://192.198.84.37/~cpanelusername        Make sure there is no trailing slash at the end, and that it does not contain www.

    wp-config-code-edit

    Save the changes by clicking the "save change" button in the upper right corner.

    Congratulation! You have successfully changed WordPress to use your Temporary URL.

    Changing WordPress back to use your domain name

    When you are done setting up and testing the your website using the temporary URL you will want to edit the wp-config.php file again and remove the code you placed into the file. Open the wp-config.php file with the code editor and replace your temporary url with your actual domain name.
  • 0 Users Found This Useful
這篇文章有幫助嗎?

相關文章

Speed up Website

Optimizing WordPress WordPress is currently one of the most popular blogging/CMS applications...

Supercache

WP Super Cache Plugin WP Super Cache is a plugin for WordPress that generates static HTML...

CPU Intensive Plugins

Plugins Advice The following articles are for reference only. Please note that NetworkDawn...

Migrate a Wordpress from Godaddy to a cPanel Server

Part #1- Download the files/ This also creates a backup. Part #2 - Upload the files to the new...

How to Install Wordpress

How to install Worpress   1. Login to cPanel 2. Navigate to Softaculous Apps Installer 3....

Powered by WHMCompleteSolution