multisite rewrite rule help
-
Hi, I understand that if I want to make some-folder https I place this in my .httaccess file and it works well on a single site install…
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} some-folder
RewriteRule ^(.*)$ https://mysite.com/wp-content/plugins/some-folder/$1 [R,L]Now how do I do it for some-folder that occurs across a multi site network to cover all subsite names?
Ie how do I cover
https://mysite.com/wp-content/plugins/some-folder
https://mysite.com/hersite/wp-content/plugins/some-folder
https://mysite.com/hissite/wp-content/plugins/some-folder
https://mysite.com/theirsite/wp-content/plugins/some-folder
etc
without adding each site name to htaccess each time?Thanks!
- The topic ‘multisite rewrite rule help’ is closed to new replies.