How to install WordPress in a temporary URL?

Many times for one reason or another we need to use temporary URLs, either because we need to test a website before migrating or deleting DNS's, or because we do not have an active domain. In many of those cases it may be necessary to install WordPress and we are going to teach you how to do it in this tutorial.

Before starting it is important that you take into account a couple of things:

  1. WordPress is not designed to be configured in temporary URLs and because it uses databases it is possible that sometimes there are unexpected errors that can not be solved unless a real URL is used.
  2. You need to have a temporary URL enabled. If you do not have it, you will need to ask Neolo's technical support to enable it.



With that out of the way we'll explain how to install WordPress in your temporary URL:

  1. Log into your cPanel account and look for the WordPress option that is inside the Software tab
  2. Press the Install Now button
  3. Confirm all information related to the installation. You must install WordPress in the domain associated with your hosting. Once confirmed, press the Install button
  4. Once the installation has finished, go back to the cPanel and press the option File Manager. Go to the directory containing the installation, this folder is usually the public_html
  5. Find the file wp-config.php, place the cursor over it and press the right click, once you've done this press the Edit option
  6. After the first line write the following command and press Save:

    define ('WP_HOME', 'YOUR-TEMPORARY-URL');
    define ('WP_SITEURL', 'http: // YOUR-TEMPORARY-URL');

  7. Test that it is working by entering http://YOUR-TEMPORARY-URL and http://YOUR-TEMPORARY-URL/wp-admin
  8. In case everything is working... Congratulations! If not, contact our technical support team and we will be able to help you setting it up.



Important Note: Remember that whenever you want to use your real URL all you have to do is delete those two lines that you added in the wp-config.php file.

  • Email, SSL
  • 0 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Related Articles

How to install WordPress and choose a web design?

Installing WordPress and start developing your website is more than simple, for this reason in...

How to install Wordpress?

1. Access your cPanel account 2. Click on "Softaculous" 3. Click on "Install Wordpress" 4. Now...

How to optimize Wordpress?

WordPress is the most popular content platform for websites in the world. But one of WordPress...

How to increase the limit allowed by WordPress to upload files?

  Sometimes it is necessary to extend the limit that WordPress has to upload files.   This...

How to change a WordPress installed in the WP directory to the root directory?

 When we perform a WordPress installation we can choose the directory in which it will be done,...