Since migrating to CS 2 Google webmaster is throwing up quite a lot of HTML issues relating to product filters …
Caged Bird
/pet/caged-bird-page-2.html?more_filters=Y&subcats=Y&features_hash=V36
/pet/caged-bird-page-2.html?subcats=Y&features_hash=V36.P26
/pet/caged-bird.html?more_filters=Y&subcats=Y&features_hash=P26.V26
/pet/caged-bird.html?more_filters=Y&subcats=Y&features_hash=P27.V37
/pet/caged-bird.html?more_filters=Y&subcats=Y&features_hash=P27.V40
/pet/caged-bird.html?more_filters=Y&subcats=Y&features_hash=P30.V40
/pet/caged-bird.html?more_filters=Y&subcats=Y&features_hash=P31.V40
/pet/caged-bird.html?more_filters=Y&subcats=Y&features_hash=P32.V40
/pet/caged-bird.html?more_filters=Y&subcats=Y&features_hash=V26.P26
/pet/caged-bird.html?more_filters=Y&subcats=Y&features_hash=V40.P27
/pet/caged-bird.html?more_filters=Y&subcats=Y&features_hash=V40.P30
/pet/caged-bird.html?more_filters=Y&subcats=Y&features_hash=V40.P31
/pet/caged-bird.html?more_filters=Y&subcats=Y&features_hash=V40.P32
/pet/caged-bird.html?more_filters=Y&subcats=Y&features_hash=V42.P26
How do I resolve these please, any ideas.
Barry
Hello Barry,
You could read this thread:
[url]http://forum.cs-cart.com/showthread.php?t=12510[/url]
Especialy this post from Darius:
[url]http://forum.cs-cart.com/showpost.php?p=58061&postcount=35[/url]
I hope can help you,
Lee Li Pop
I got the following warning when i veify my site with google webmaster tools.
[COLOR=“Red”]
“Your site is indexed as [url]http://domainname.com/[/url] not as [url]http://www.domainname.com/[/url]. If you want to see all data for your site, you need to add and verify [url]http://domainname.com/[/url] as well”
[/COLOR]
How can i fix this? Your help is much appreciated.
Raj
Hello Raj,
Look at your [COLOR=“Red”].htaccess[/COLOR] file.
Lee Li Pop
Thank you very much Lee. What should I need to modify on .htaccess file. Here is my production .htaccess code.
DirectoryIndex index.html index.php
RewriteEngine on
Some hostings require RewriteBase to be uncommented
Example:
Your store url is [url]http://www.yourcompany.com/store/cart[/url]
So “RewriteBase” should be:
RewriteBase /store/cart
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php?sef_rewrite=1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} ./catalog/.
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteRule . index.php?sef_rewrite=1 [L,QSA]
Raj
Hello Raj,
First of all, thank you to ask good question!
Because…
[COLOR=“Green”]This trick is VERY important for a SEO purpose![/COLOR]
Yes, because, having only one access to your domain URL (with or without “www”), you DO NOT split your PR between “www” and “non www”
United, we are stronger!
*****
You can chose what you need for your domain name URL, [COLOR=“Red”]Without[/COLOR] (1) or [COLOR=“Green”]With[/COLOR] (2) WWW:
1 - [COLOR=“Red”]WITHOUT[/COLOR] “www”, add at the bottom end of your [COLOR=“#ff0000”].htaccess[/COLOR]:
RewriteCond %{HTTP_HOST} www.MyDomainName.com$ [NC]
RewriteRule ^(.*)$ http://MyDomainName.com/$1 [R=permanent,L]
2 - [COLOR=“Green”]WITH[/COLOR] “www”, add at the bottom end of your [COLOR=“#ff0000”].htaccess[/COLOR]:
RewriteCond %{HTTP_HOST} !^www\.MyDomainName\.com$ [NC]
RewriteRule ^(.*)$ http://www.MyDomainName.com/$1 [R=permanent,L]
Of course, change “MyDomainName.com” with your real own domain name!
*****
For personal reasons, I always chose without “www”.
Nota Bene:
This trick is not always technicaly available. Please, check with your hosting company.
Lee Li Pop