admin管理员组文章数量:1023744
I have multi site website lets say example example/ab and example/cd.
Now I need to add another website in this network which is run on separate domain. lets say mywebsite and mydemowebsite
Now I have to add in existing network but must be run on main domain mywebsite and mydemowebsite
Please suggest solution.
I have multi site website lets say example example/ab and example/cd.
Now I need to add another website in this network which is run on separate domain. lets say mywebsite and mydemowebsite
Now I have to add in existing network but must be run on main domain mywebsite and mydemowebsite
Please suggest solution.
Share Improve this question asked Apr 12, 2019 at 7:18 Vasim ShaikhVasim Shaikh 5515 silver badges13 bronze badges 2- So you're trying to mix subdomain and subdirectory multisite? Things have changed since I last looked at this so this might now just be supported, but worst case you just need a version of sunrise.php that will resolve the site IDs correctly - the plugin linked there may still be useful - even if you have to hard-code that yourself. – Rup Commented Apr 12, 2019 at 9:56
- yes looking for mixup – Vasim Shaikh Commented Apr 12, 2019 at 10:01
1 Answer
Reset to default 0As per the instructions for setting up WordPress MU Domain Mapping, sunrise.php needs to be placed directly in your /wp-content directory. It's not a plugin in the traditional sense, so can't be placed in mu-plugins (or even plugins for that matter).
Setting up this plugin can take a bit of manual work so take care to follow the instructions carefully, including the modifications you need to make to wp-config.php.
I have multi site website lets say example example/ab and example/cd.
Now I need to add another website in this network which is run on separate domain. lets say mywebsite and mydemowebsite
Now I have to add in existing network but must be run on main domain mywebsite and mydemowebsite
Please suggest solution.
I have multi site website lets say example example/ab and example/cd.
Now I need to add another website in this network which is run on separate domain. lets say mywebsite and mydemowebsite
Now I have to add in existing network but must be run on main domain mywebsite and mydemowebsite
Please suggest solution.
Share Improve this question asked Apr 12, 2019 at 7:18 Vasim ShaikhVasim Shaikh 5515 silver badges13 bronze badges 2- So you're trying to mix subdomain and subdirectory multisite? Things have changed since I last looked at this so this might now just be supported, but worst case you just need a version of sunrise.php that will resolve the site IDs correctly - the plugin linked there may still be useful - even if you have to hard-code that yourself. – Rup Commented Apr 12, 2019 at 9:56
- yes looking for mixup – Vasim Shaikh Commented Apr 12, 2019 at 10:01
1 Answer
Reset to default 0As per the instructions for setting up WordPress MU Domain Mapping, sunrise.php needs to be placed directly in your /wp-content directory. It's not a plugin in the traditional sense, so can't be placed in mu-plugins (or even plugins for that matter).
Setting up this plugin can take a bit of manual work so take care to follow the instructions carefully, including the modifications you need to make to wp-config.php.
本文标签: htaccessMultisite website configure Domain issue
版权声明:本文标题:htaccess - Multisite website configure Domain issue 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745558830a2156038.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论