Select location & language
  • Österreich German
  • Australia English
  • België Dutch
  • Canada English
  • Schweiz German
  • Deutschland German
  • Eesti English
  • Ελλάδα English
  • España Spanish
  • France French
  • Hrvatska English
  • Italia English
  • Latvija English
  • Lietuva English
  • Nederland Dutch
  • Norge Norwegian
  • Polska Polish
  • Portugal Portuguese
  • Slovensko English
  • Suomi Finnish
  • Sverige Swedish
  • United Kingdom English
  • United States English
  • American Samoa English
  • Andorra English
  • Anguilla English
  • Antarctica English
  • Bermuda English
  • British Indian Ocean Territory English
  • British Virgin Islands English
  • Cayman Islands English
  • Christmas Island English
  • Città del Vaticano English
  • Cocos (Keeling) Islands English
  • Falkland Islands English
  • French Southern Territories English
  • Gibraltar English
  • Guadeloupe French
  • Guam English
  • Guernsey English
  • Guyane française French
  • Heard & McDonald Islands English
  • Ireland English
  • Isle of Man English
  • Jersey English
  • Liechtenstein German
  • Luxembourg French
  • Malta English
  • Martinique French
  • Mayotte English
  • Monaco French
  • Montserrat English
  • New Zealand English
  • Norfolk Island English
  • Northern Mariana Islands English
  • Pitcairn Islands English
  • Puerto Rico Spanish
  • Réunion English
  • San Marino English
  • Slovenija English
  • St. Barthélemy English
  • St. Helena English
  • St. Martin English
  • St. Pierre & Miquelon English
  • Svalbard & Jan Mayen English
  • Turks & Caicos Islands English
  • U.S. Outlying Islands English
  • U.S. Virgin Islands English
  • Åland Islands English
  • Κύπρος English
  • Црна Гора English

How to Change Your WordPress Site URL (Domain)

1 min read

If you are moving to a new domain, switching to HTTPS, or moving out of a subfolder, you need to update your WordPress site URL. Doing it correctly avoids broken links and login problems. This guide explains the safe way.

The two URL settings #

WordPress stores two addresses under Settings > General:

  • WordPress Address (URL): where WordPress core files live.
  • Site Address (URL): the address visitors use.

For most sites these are the same. Update both to your new domain, including https, and save.

Do not forget the database #

Changing those two settings is not enough on its own, because old URLs remain scattered through your content, in links and image paths. After changing the domain you should run a search-and-replace across the database to update every old URL to the new one. A dedicated plugin makes this safe and simple.

Step-by-step for a domain change #

  1. Point the new domain to your site and enable SSL.
  2. Update both URLs under Settings > General.
  3. Run a search-and-replace for the old domain to the new one.
  4. Set up redirects from the old domain if it stays registered.
  5. Clear all caches and test.

If you get locked out #

Setting the URLs wrong can lock you out of the dashboard. If that happens, you can correct the values in wp-config.php or via the database in phpMyAdmin.

Troubleshooting #

  • Broken images or links: run the search-and-replace for old URLs.
  • Redirect loop or lockout: fix the URLs in wp-config.php.
  • Mixed content warnings: ensure everything uses https.

Need help? #

Changing a site URL has a few moving parts. Our support team can help you do it cleanly over live chat.

What are your feelings