You shouldn’t need to change the wordpress url. Just map domains on top of your existing setup. Also, this should be in the multisite forum.
https://wordpress.org/support/forum/multisite/
Thread Starter
nirzol
(@nirzol)
Oh sorry I will try to clarify my problem. And thanks for move my topic in the good forum. English is not my first language.
Before wordpress 4.5, I used domain mapping plugin for my multisite . It did the job great.
Since 4.5 I see this feature in wordpress directly.
My main site is : mysite.fr
Others site like that : mysite.fr/site1 , mysite.fr/site2…. etc
With the plugin when I mapped domain :
mynewurl1.fr to –> mysite.fr/site1
mynewurl2.fr to –> mysite.fr/site2
And mysite.fr/site1 still working.
Now with wordpress according to the codex (link in my previous post) say that I have to change the site URL of each site in my multisite.
I do that. It works . I disable domain mapping plugin to.
But all my link mysite.fr/site1 in contents posts widget etc… don’t work anymore.
So my question is : Do I have to change in my Database all url mysite.fr/site1 to mynewurl1.fr ? And if yes, are there some tables or fields I must not modify ?
if no, what the best way ?
Sorry again for bad english . And thanks for your help.
-
This reply was modified 9 years, 1 month ago by
nirzol.
In this case, yes you do. Because you are not mapping a domain on top, using redirects, but changing the site’s url. This is alot like moving a site to a new url.
https://codex.wordpress.org/Changing_The_Site_URL
Thread Starter
nirzol
(@nirzol)
Ok thanks. So now each site in multisite is like a single site for domain mapping.
Thanks I will make the changes in my database.