Timeline for How to connect existing subdomains to new wordpress multisite?
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 25, 2017 at 10:54 | comment | added | Parth Trivedi | Thank you so much @David. The plugin and changing the document root solved the problem. | |
Dec 25, 2017 at 10:53 | vote | accept | Parth Trivedi | ||
Dec 21, 2017 at 19:21 | comment | added | Parth Trivedi | That is great to hear. Thank you very much, will try out that and hopefully, we will chat soon. | |
Dec 21, 2017 at 18:58 | comment | added | David Sword | Yeah thats the one I use. That's right, no 301 redirects - it's setting your subdomain's A records and/or your vhost DocumentRoot folder settings, then your network domain mapping plugin. So subdomain lands in new network, domain mapping plugin recognizes the subdomain and knows which network subfolder site to show. (Personally I have my primary network site as a wpntwrk.mainsite.com, with subfolder sub sites- then I have some sites with primary mapped domains of subdomains. so wtv.example.com pointing to wpntwrk.mainsite.com/wtvexample/ - so I can personally guarantee it works fine). | |
Dec 21, 2017 at 18:50 | comment | added | Parth Trivedi | okay, thanks. Are you referring to use this plugin Domain Mapping ? With this plugin, won't there be any permanent redirect of the subdomain but will change the A records of the subdomain, right? | |
Dec 21, 2017 at 18:33 | comment | added | David Sword |
with domain mapping you can point any subdomain to any wordpress install in a network. Point the A record and vhost settings for sub1.maindomain.com to your new wpsite.maindomain.com 's wordpress network setup. Install domain mapping plugin on your new network. Via Domain Mapping Network Settings, set wpsite.maindomain.com/sub1 's primary domain to sub1.maindomain.com . (sub1.maindomain.com will then render wpsite.maindomain.com/sub1 and the url will stay as sub1.maindomain.com).
|
|
Dec 21, 2017 at 18:23 | comment | added | Parth Trivedi | I already have websites running on sub1.maindomain.com and we deployed the wordpress multisite on wpsite.maindomain.com/sub1, sub2 etc. Now we want those new sites to be accessed from the previous subdomain "sub1.maindomain.com" should point to "wpsite.maindomain.com/sub1" and likewise for other subsites. | |
Dec 21, 2017 at 18:20 | comment | added | David Sword | My apologies for misunderstanding. But if thats the case, my second answer applies, just domain map it then. | |
Dec 21, 2017 at 18:16 | comment | added | Parth Trivedi | Thank you David, the solution you have mentioned is about changing the subfolder pattern to subdomain pattern which in my case wpsite.com/sub1 will become sub1.wpsite.com. I want something that it should change to sub1.maindomain.com where my maindomain is different from wpsite. Are you getting me? | |
Dec 21, 2017 at 17:40 | history | answered | David Sword | CC BY-SA 3.0 |