It seems the issue is in the .htaccess file creation:
it looks like this:
Code:
RewriteEngine on RewriteCond %{HTTP_HOST} ^domain.com$ [OR] RewriteCond %{HTTP_HOST} ^www.domain.com$ RewriteRule ^.*?$ "http://domain.com/subdir" [R=301,L]
instead of this:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.domain.com$
RewriteRule ^/?$ "http://domain.com/subdir" [R=301,L]
Leave A Comment
You must be logged in to post a comment.