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 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?

Related Articles

How to activate the Anti-Spam filter?

  CPanel Spam Filter is one of the most effective options to mitigate the problem of spam....

How to fix: You Have Reached a Domain that is Pending ICANN Verification

If your website is redirected to a site owned by ICANN (the Internet Corporation for Assigned...

How to Reset my cPanel Account Password?

If you can access your cPanel account, follow these steps to reset your password: Log into your...

PHP files are downloaded instead of executed, how do I solve it?

Sometimes it happens that when trying to access your website, instead of the PHP files being...

How to redirect the website from HTTP to HTTPS?

  In this article you will learn how to redirect the users who enter the HTTP version of your...