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¶m1=xxx&….
www.test.com/dossier1/dossier2/index2.php¶m1=xxx&….
www.test.com/dossier1/dossier2/dossier3/index2.php¶m1=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.




