How to change domain or site URL in wordpress?

You can change or update website URL or domain in wordpress by following below steps:

  1. Login into Wordpress Admin panel
  2. Goto Settings > General
  3. Update Wordpress Address and Site Address with your new domain: https://newdomain.com (Please note the domain must be working and pointed to your webhosting account, otherwise you will lost the access to the website)
  4. After that, use Search and Replace plugin : https://wordpress.org/plugins/better-search-replace/ and replace all old URLs with new URL as follows:
    • Write https://olddomain.com/ in Search for input box
    • Write https://newdomain.com/ in Replace with input box.
    • Select all tables from below box, by pressing Shift + A
    • Check dry run checkbox
    • Press Run Search/Replace button.

This will only run the search without updating the record.

Now, review the tables, uncheck the dry run and press Search/Replace button again.

This will replace all the old site URLs with new one.

If you have any difficulty doing that, we will do it for your free of cost. Just create a support ticket from https://support.websterz.net

  • 0 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

Powered by WHMCompleteSolution