In the previous tutorial, we showed you how to install WordPress on an Addon domain. As we continue our Getting started in Wordpress series, this tutorial will guide you through installing Wordpress on your Temp URL. WordPress is "domain specific" software. This means that WordPress will not work correctly unless you access it over the domain name you installed it for. For example, if you're moving WordPress from another host to Web Hosting Hub, you'll want to first transfer and test your WordPress site on our servers. We recommend that you test your website using your temporary URL.

Before continuing, you'll need to know what your temporary URL is. Please reference our How do I find my account's technical information in AMP? article for more help with finding your Temporary URL, which should look similar to

  1. In order to test your WordPress site on your Temporary URL, you'll first need to install WordPress using Softaculous.

  2. We now need to open your WordPress configuration file, wp-config.php, so we can edit it. This file is located in the root of the WordPress installation. We'll use cPanel's File Manager to edit this file. If you're not familiar with using your File Manager, please read our article on managing files through your File Manager.

    Once you have logged into your File Manager and are in the folder where WordPress is installed, you will see a list of files and folders similar to this:


    On this page, as shown, you will want to edit the wp-config.php file.  Right click on the file and select "Code Edit".

  3. Now that we are in the "Code Edit" view, we can make the necessary changes to the wp-config.php file. Locate the line in this file similar to:

    define('DB_COLLATE', '');

    Let's add two new lines just below that line and enter in the following information (replacing with your actual temporary URL):


    Your updated wp-config.php file should look similar to this:


    Once you have added the code with your temporary URL (as seen above in the example), save your changes.  Now your WordPress site will show correctly on your temporary URL.

You are all done!

Changing your WordPress Installation back to your Domain

When you are done testing your site using the temporary url, you'll want to edit your wp-config.php file again and remove the changes that you made. Once you have pointed your domain to our Nameservers and have allowed 4-24 hours for DNS to propagate, simply edit the wp-config.php file and remove the code we added above.

The next set of tutorials in our Wordpress Education channel will cover basic WordPress features.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Help Center:
Email Address
Optional, but our team may contact you for more information.
Did you find this article helpful?


2011-11-27 4:51 pm
Step 3. "Locate the lines in this file similar to" should be changed to "Add the following lines" since they don't exist by default.
9,518 Points
2011-11-28 11:28 am
Hi CriketX,

Good catch! Thank you for pointing this out. We have updated the article with the correct information.

Please let us know if you have any questions.


Christi N.

Post a Comment

Email Address:
Are you a bot?

Please note: Your name and comment will be displayed, but we will not show your email address.

News / Announcements

Update to SSL Certificates - Certificate Warnings
1969-12-31 11:00 am EST
Hits: 678

Related Questions

Here are a few questions related to this article that our customers have asked:
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.