![]() | | ||||||||
| | #1 |
| Active Warrior War Room Member Join Date: Apr 2010
Posts: 34
Thanks: 15
Thanked 10 Times in 10 Posts
|
Hi I am not a coder and I just noticed I may made a mistake on .htaccess. When I visit "mydomain.com/faq", it will be directed to the homepage, "www.mydomain.com" instead of "www.mydomain.com/faq". It happens to all the pages, not just "faq". Below is a part of my .htaccess which I guess causing the issue: Code: RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /index.php HTTP/
RewriteRule ^index.php$ http://www.mydomain.com/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L] |
| | |
![]() |
|
| Tags |
| normalization, question, seo, url |
| Thread Tools | |
| |
![]() |