InMotion Hosting Support Center

wordpress temp URL to correct domain name

Category: Wordpress

2013-12-03 10:08 am EST

Hits: 8,160
changing wordpress temp url back to your domain name...
in the php file, i assume we do not use www.
just the
we then change it to

is this the correct procedure?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



43,761 Points
2013-12-03 10:21 am EST
Hello YogaMarieMills,

Thank you for your question today. If you are ready to use the domain name and have it already pointed to the proper nameservers, you simply need to remove the lines referencing the temp URL as they are not necessary when using the proper domain name. Be sure that your URL settings in the admin dashboard are correct before doing so, however.

The use of www or not is completely up to you, but as time goes on, the www is falling out of favor as people simply use the domain name itself.

Kindest Regards,
Scott M

You must login before you can post a comment about this answer.

thank you Scott. I can get my first page up on internet, and a friend of mine can too, but not the other posts- however, i have been waiting for help from support about the error message on my domain name transfer- it is all rather untimely, i am hoping this is part of the reason.
19 Points
2013-12-03 10:24 am EST
Hello YogaMarieMills,

I performed a whois lookup on your domain, and it is showing that it was modified yesterday (12/2/13). If you modified anything DNS related, such as your nameservers, keep in mind it can take up to 24 hours to propagate, or update across the world.

I checked your website, and everything is functioning, but the posts resolve to your Temp URL, which means your URL was not updated correctly.

Please follow our full walk through guide on "Changing the Site URL," as it shows you in steps how to make the switch.

If you have any further questions, feel free to post them below.
Thank you,

31,633 Points
2013-12-03 1:22 pm EST
thank you for the help, however, you mention that i must be sure that the URL settings in the admin dashboard are correct before making the url changes ...i made the temp url changes in the php files... and from what I understand this will concurr with the admin i quote next from one of the boards "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."
so can i do this, as i cannot change the URL settings on the admin dashboard as there is not an edit option?
19 Points
2013-12-05 12:22 pm EST
Hello YogaMarieMills,

Setting the WP_HOME and WP_SITEURL settings in your wp-config.php file is typically just a temporary measure you want to use when testing out changing your WordPress URL settings.

If you look at that guide under the change WordPress address with wp-config.php file section, you should see this note:

Be aware with these settings in the wp-config.php file, the ability to modify them from the dashboard is lost.

So if you simply comment out the lines in your wp-config.php by placing two // slashes in front of them. You can then click on Settings >> General in your WordPress Dashboard and those settings should be "live" again:


If you're still having any issues at all please let us know. Also if you have any suggestions on what might make our guide more clear on the matter we love feedback!

- Jacob
9,968 Points
2013-12-05 1:43 pm EST
Hello YogaMarieMills,

I checked the site and see that the main page is working with the domain name, but other links are still using the temp URL. To get the site to work correctly, you simply need to edit the wp-config.php file and remove the two lines that point to the temp URL. This will allow all links in the site to use the domain name in the same manner as the main page.

Kindest Regards,
Scott M
43,761 Points
2013-12-05 1:51 pm EST
Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!