VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: dracoteam on June 26, 2012, 13:32:31 PM

Title: Duplicate content. Two urls for same category.
Post by: dracoteam on June 26, 2012, 13:32:31 PM
Hi

I have this

www.mydomain.com/shop-name/

and this

www.mydomain.com/shop-name/0/

Both indexed by Google in the same page with same content ´cos they are the same page. This is not good for SEO

You can try too. Another example

www.mydomain.com/shop-name/(here the id of one category)/
www.mydomain.com/shop-name/(here the id of one category)/the_name_of_that_category

I think you should fix it
Thanks

Title: Re: Duplicate content. Two urls for same category.
Post by: DE on July 11, 2012, 10:22:14 AM
Hello!

For this problem i decided to use rewrite rules. Cause joomla and virtuemart routers are far from perfect at least now.

Example for nginx:
if ($uri ~ /0/)
{
rewrite ^(.+)/ $1 permanent;
}
Something like this.