I have a problem with a Virtuemart 2 Shop on Joomla 2.5
In the Google Index there are many of parameter urls, like
/?category_id=&keyword=&orderby=product_name&limit=10&pop=1&tmpl=component&start=170
or
index.php?option=com_virtuemart&page=shop.browse&category_id=11&Treeid=3&Itemid=8
or
/sef_nach,preis?___=
and so on...
In google there are over 8000 urls index, but it should just 1500 for example.
I made a robots.txt but there is no effect.
I should in the head.php of the template:
Code: Select all
$document = JFactory::getDocument();
$document->setMetaData('rights','test');
$document-> setMetaData ('robots', 'noindex, noarchive, nofollow');
Any idea? How can i change the robot tag to noindex on sites with url parameters? for example the pageination with ?start=30
Best regards and sorry for the bad english