multisite installed in subdirectory with domain mapping error 500
-
Hello,
I have installed a multisite in a directory. (Ex : https://test.com/text/)
Then I added some subsites in subdirectory mode
https://test.com/test/website1/
https://test.com/test/website2/
Then I added another website with domaine mapping (no pluging)
https://anotherwebsite.comEverything work except when I go to https://anotherwebsite.com on any page except the home page. It give me 500 error. (Take note https://anotherwebsite.com/wp-admin is working)
The error lie in the htaccess. The RewriteBase url dosent work with this subsite configuration.
RewriteEngine On
RewriteBase /test/ –> need to be RewriteBase / to make it work.Howerever, if I make that change all others websites stop working.
I have try to make some changes
in wp-config
define(‘PATH_CURRENT_SITE’, ‘/test/’); for define(‘PATH_CURRENT_SITE’, ‘/’);
in the db
wp_blogs, wp_site, wp_#_options switched back and forth between “/” and “/test/”But nothing work. I think I need to rewrite my htaccess to make wordpress undestand my rewrite base is /test/ everywhere except for https://anotherwebsite.com.
At this point, I dont know how I can do that.
Any help?
Thank you.
- The topic ‘multisite installed in subdirectory with domain mapping error 500’ is closed to new replies.