Changing my network domain name?

This may be sort of a dumb question but here it goes:

Can I change my WordPress domain name for my multisite network?

For example, I want to change my domain from to

Can I just change it in settings? Is there anything else I need to do? Will my subsites still be in place?

  • Ash

    Hello @timstrifler

    I hope you are well today and thanks for asking the question.

    Yes, you can change your network domain name. You need to change the domain name in wp-config.php and htaccess.

    Then you need to change in the database.

    Search for all instances of your domain name, and change them as needed. This step cannot yet be easily automated. It's safe to search/replace any of the wp_x_posts tables.

    You should manually review both wp_site and wp_blogs regardless, to ensure all sites were changed correctly.

    Also manually review all the wp_x_options tables and look for 'three fields and edit as needed:

    You will get more info here:

    Please keep a backup if your working site and database before making any changes.

    Please let me know if you find this is helpful, or if you have any further questions.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.