Installing WordPress using your Temporary URL
WordPress is dynamically driven using your domain name. This means that WordPress will not work correctly using your temporary URL if it was configured to be installed using your domain name.
Take for instance, if you are migrating an existing WordPress site from another host to InMotion hosting, you will want to migrate the site and test it prior to pointing the domain name to our servers.
We advise using your temporary URL to test your WordPress site before pointing your domain to our servers. If you install WordPress using Softaculous located in cPanel, you won't directly have the option to install it using a temporary URL, so you can follow the steps below to get this working properly.
If you need help locating your temporary URL, you can find it in your Account Management Panel (AMP). Your temporary URL will resemble:
Note! You can get your temporary URL by navigating to your AMP technical details.
Configure WordPress to use temporary URL
- To use your temporary URL with WordPress, simply install WordPress on the domain itself. Do not be concerned with the temporary URL yet.
- 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.
- Next, you will need to right-click on the file and select "code edit".
- 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.
In your file, ecbiz107.inmotionhosting.com/~userna5 will need to be replaced with your own temporary url.
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 nameWhen 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.
Alternatives to using the Temp URL
The temp url is a great way to get your WordPress site working prior to the site going live. There is another way to develop your WordPress site outside of the temp url. You can use a Hosts File mod on your local computer. The Hosts file mod "Fakes" your local computer in thinking the domain is on your server when in fact you are only connecting to the IP address. To learn more about modifying your Hosts file please see the following link.
We value your feedback!
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.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!
An introduction to WordPress
|1.||Getting Started with Pre-installed WordPress|
|2.||What is WordPress?|
|3.||What kind of website can I build with WordPress?|
|4.||The WordPress Site Structure Explained|
|5.||Getting Started: How to install Wordpress|
|6.||How to install WordPress using Softaculous|
|7.||Installing WordPress 3.5 manually|
|8.||Installing WordPress on an Add-on Domain|
|9.||Installing WordPress using your Temporary URL|
|10.||Logging into your WordPress Dashboard|
|11.||Configuring your WordPress Home Page|
Managing WordPress content
|12.||Wordpress Pages vs Posts|
|13.||Writing your first WordPress Blog Post|
|14.||Creating a WordPress Page|
|15.||Adding HTML to a Wordpress Page/Post|
|16.||Creating a link in Wordpress|
|17.||Allowing User Registration in Wordpress|
|18.||Creating a Wordpress User in the Dashboard|
|19.||Changing a User's Role In Wordpress|
2012-11-26 6:18 pm
read this instead: http://www.webhostinghub.com/support/edu/wordpress/101-getting-started/install-on-temp-url
2013-12-03 9:46 am
changing wordpress back to your domain name...in the php file, i assume we do not use www. but just the http:/domain-name.com?
2013-12-03 11:07 am
You may change it either way. If you installed int on your domain and changed it to your temporary URL as the article describes, simply removing the lines that you previously put into place will work as well.
2014-05-28 2:14 am
Thanks so much for your post on this. I found it via google search, helping a friend with the same problem, and this fixed it. Much appreciated.
2014-06-19 5:12 pm
Thanks, sir! Moving Wordpress always turns out to be trickier than I think (especially when you have to use a temporary url). This works great!