A SEO question about URL Normalization

0 replies
  • SEO
  • |
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]
I want all my web pages to have "www." in front. Hopefully someone can help me to see which part of the code above gone wrong.
#normalization #question #seo #url

Trending Topics