How do I change my WordPress site URL?

Quick answerBeginnerUpdated

Short answer

For a simple change, edit the WordPress Address and Site Address in Settings → General. If you are moving to a different domain, the URL also appears throughout your content and has to be replaced in the database with a search-and-replace tool.

Editing only the two settings on a domain move leaves images and internal links pointing at the old address. If the change locks you out of wp-admin, the values can be set in wp-config.php instead.

Learn more

Step-by-step

Not hosting with Traxio yet? WordPress hosting from 99p a month is free for 30 days with no card, then £0.99 a month.

All WordPress questions · All questions and answers

Popular

Tip: press / to search from any pageSee all results