knitting

Author Topic: Old url donīt dissapear  (Read 281 times)

dracoteam

  • Beginner
  • *
  • Posts: 18
Old url donīt dissapear
« on: July 21, 2012, 15:19:10 PM »
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




ivus

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 540
  • - YAY me... proud member of the 500 club...
Re: Old url donīt dissapear
« Reply #1 on: July 21, 2012, 22:43:31 PM »
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.

VirtueMart Forum

Re: Old url donīt dissapear
« Reply #1 on: July 21, 2012, 22:43:31 PM »