How to change url in wordpress multisite network

 

Assume you already have installed the WordPress standalone kit from the marketplace as shown below :

 

 

 

 

 

 

 

Now you can use the links and credentials from the successful installation frame or from the appropriate email to manage your WordPress application.

To change the URL in a WordPress multisite network, you need to access phpMyAdmin using the credentials you received via email. Once logged in, you will see a page similar to the one shown below:

 

Now you need to change the old domain with the new URL at 5 places in the database as given below:

 

1> wp_usermeta: the option named “source_domain” needs to be changed with the new URL

2> wp_blogs: any entries in the “domain” column that have the old domain name

3> wp_options: options named “siteurl” and “home” that have the old domain name

4> wp_site: any entries in the “domain” column that have the old domain name

5> An entry "DOMAIN_CURRENT_SITE" in your WP-Config.php file needs to be changed with the new URL

 

Here in our example, we had installed WordPress with the URL > "wpmultisitenetwork.cloudjiffy.net" and we have changed it to a new URL > "testing.advancedserverdns.com" as shown in screenshots below:

 

 

 

 

 

 

 

 

 

Now open your WP dashboard using credentials, go to > My Sites>Network Admin>Sites, you will see the old URL changed to the new URL as shown below:

 

You can also check it by visiting the link in browser and you will land on your WP Website with the new URL as shown in picture below:

 

 

Thats it !!

 

 

 


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 249