Can assign a new domain to a site in a multisite?

admin2025-06-07  45

We set up a multisite for a client so they could choose a style. The URLs are:

  • /
  • /
  • /

Client chose style2 and purchased domain clientdomain

Any way to make clientdomain the new URL for / without re-installing Wordpress and transferring everything, etc.?

We set up a multisite for a client so they could choose a style. The URLs are:

  • http://client.ourdomain/project/style1/
  • http://client.ourdomain/project/style2/
  • http://client.ourdomain/project/style3/

Client chose style2 and purchased domain clientdomain

Any way to make clientdomain the new URL for http://client.ourdomain/project/style2/ without re-installing Wordpress and transferring everything, etc.?

Share Improve this question asked Oct 19, 2018 at 8:47 d0gd0g 1192 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Go to the Network Admin screen of the site, then Sites, then Edit the site. Put the new URL in the various locations.

Added

When you Edit the site, select the Settings tab. That will allow you to change the Home and Site URL values (which writes to the wp-options for that site). There may also be several other places to change the URL for other options settings by plugins or themes.

You may need to do a Search/Replace (I like the 'Better Search and Replace' plugin) to change URLs for media for that site. And a backup of the databases is always a good idea before changing.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749244286a317565.html

最新回复(0)