Jump to content
KUHM

Virtuemart Indexing on Joomla: Problem with the Recommend, Email and Print Pages

Posted on - Updated

Virtuemart Indexing on Joomla: Problem with the Recommend, Email and Print Pages

For a client with a site on Virtuemart (Joomla’s online store system), I ran into a major indexing problem and duplicate content.

Indeed, for each product, there is a "recommend to a friend" page, a "send by email" page and a "Print" page.

These pages were indexed, and the product content was repeated.

What's more, the pages looked like this:

www.test.com/dossier1/index2.php&param1=xxx&….

www.test.com/dossier1/dossier2/index2.php&param1=xxx&….

www.test.com/dossier1/dossier2/dossier3/index2.php&param1=xxx&….

So deindexing these pages becomes a problem, since you need a rule for one file, whatever folder it belongs to and whatever its parameters.

My colleague Jérémie gave me the solution:

Just add the following line to the robots.txt file located at the root of your site (if it does not exist, create it).

Disallow: /*index2.php*

This rule lets you request non-indexing or deindexing of any page named index2.php anywhere on your site and whatever the parameters after .php (you can replace this with any file name)


And you, do you have indexing problems on Joomla? I still find it a real maze.

About the author

Cyril KUHM

Cyril KUHM

Head of MKH, a web agency near Strasbourg, and SEO consultant since 2007. On this blog I share free, hands-on advice to help your site rank better on Google.

Get in touch

Related posts

↑