Subdirectory installation gets redirected
-
Hello,
I have a site installed on a subdirectory that way:
mydomain.com/mysite/
that works fine but, in some cases, when I type manually this address as above in the browser it gets redirected to the root domain mydomain.com.In .htaccess, the WP snippet looks correct like that:
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase /mysite/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /mysite/index.php [L]but I see this rewrite rule above, from WPFC and I wonder if it is correct:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} =on
RewriteCond %{HTTP_HOST} ^mydomain.comI’m checking this because I have no other active redirection at server level.
Thanks.
- The topic ‘Subdirectory installation gets redirected’ is closed to new replies.