Hi
Please help, is it a bug?
I have a problem and I´ve tested in a brand new Joomla installation. Joomla 2.5.6 Virtuemart 2.0.8e
I have this url: shop/8/2/powertools/circular-saw
Then I change product name and Product Alias, instead of Circular saw I call it Circular sew
and I get this url: shop/8/2/powertools/circular-sew
The problem is now you can type shop/8/2/powertools/circular-saw or shop/8/2/powertools/circular-sew both point to the same product.
Now imagine you change the category and you get this url shop/8/5/powertools/indoortools/circular-sew
Now there are three url that point to the same place. I think old url should takes you to a 404, and you should give a 301 redirection to the new url.
I´ve tried to make a redirection with Joomla redirection component but it doesn´t work, if you type an old url then you´ll get an old url. The problem is Google will index the three urls, that´s duplicate content and I have few urls like that. If you don´t want duplicate with Virtuemart you can´t change anything, but that´s not useful
Can somebody help me, I can´t find any solution
Thanks a lot
Hi dracoteam,
You're right, it's not useful at all.
The issue isn't to do with the spelling of your product name. You'll notice if you test the following URL that it still works.
shop/8/2/hello-world/hello-kitty
The reason is J! uses the slug (both Category and Item) so display the SEF-URL, but they mean nothing in terms of routing. The routing is done using the numbers that precedes it (the 8 and the 2 in this case).
I've also noticed the redirection component doesn't do much, perhaps what you'll need to do is install a third party plugin to get around your problem.
I hope this helps.