htaccess - Multisite website configure Domain issue

I have multi site website lets say example exampleab and examplecd.Now I need to add another website in this network w

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
Add a comment  | 

1 Answer 1

Reset to default 0

As 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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745558831a4632983.html

相关推荐

  • htaccess - Multisite website configure Domain issue

    I have multi site website lets say example exampleab and examplecd.Now I need to add another website in this network w

    18小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信