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.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745558831a4632983.html
评论列表(0条)