Canonical Error & SEO

Permalink
Hello All!

My SEO consultant is telling me that canonical errors are affecting my SEO ranking. I having problems with the settings in the .htaccess file.

Bascially need all of my pages to forward to the “www” version of the page.http://scrub-it-clean.com/ already forwards tohttp://www.scrub-it-clean.com/

Right nowhttp://scrub-it-clean.com/services... forward tohttp://www.scrub-it-clean.com/index.php...

http://scrub-it-clean.com/services... should forward tohttp://www.scrub-it-clean.com/services...

This is everything that I have in my .htaccess file now:




<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>

Options +FollowSymlinks
RewriteEngine On
RewriteCond %{http_host} ^scrub-it-clean.com [NC]
RewriteRule ^(.*)$http://www.scrub-it-clean.com/$1... [R=301,NC]





I also have “Remove index.php from URLs” & “Only render at canonical URLs.” under URLs and Redirection

Anyone know how to alter the .htaccess file to minimize the canonical errors that are found by Google?

Thanks in advance!

 
ramonleenders replied on at Permalink Reply
ramonleenders
This is the standard .htaccess (pretty URL's) with a non-www to www redirect:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME}/index.html !-f
    RewriteCond %{REQUEST_FILENAME}/index.php !-f
    RewriteRule . index.php [L]
</IfModule>