How do I change the domain name within WordPress?

Asked by:
LLFiggs / 70 Points
2012-08-24 11:18 pm EST
Website Troubleshooting
Can't delete my previous question; so I'm editing it to show the answer in case it helps someone else.

I copied a website to a different domain, and the website didn't use the new url. I finally found an answer. I needed to go into the WP-config.php file and add 2 lines after DB-Collate to point the website to the new url.


So Issue resolved.

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by User


1,846 Points
2012-08-27 4:48 pm EST
Hi LLFiggs,

Thanks for posting the solution to your problem! I checked our Support Center to see if we had this content listed. I did find it, but it was under our article on using WordPress with your temporary URL.

Glad to see you were able to figure this one out though. If there is anything we can help with, just ask, we're happy to lend a hand.

- Brad

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
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.