Joomla, VirtueMart, Google HTTP Error

If you using Joomla and VirtueMart and want to validate URLs by Google, VirtueMart add a part( &vmcchk=1 ) to URLs as a cookie check process.

This cause a HTTP Error 301 Moved Permanently in Google Web Master tools and prevent index pages. most serach engines do not like to get a redirect, so you can solve it. According to this post you should comment it out or remove just one line in ps_session.php and that's it !

/classes/ps_session.php:

if( @$_REQUEST['option'] == 'com_virtuemart' ) {
$this->doCookieCheck(); // Introduced to check if the user-agent accepts cookies
}


For me it works fine and I could get a HTTP 200 OK from a http header checker, and I am waiting to see result from Google Bot.

http://forum.virtuemart.net/index.php?topic=24791.msg66710#msg66710

You can check HTTP Headers by: http://web-sniffer.net/