Author Topic: virtuemart urls for products and search  (Read 1213 times)


  • Jr. Member
  • **
  • Posts: 109
    • JoomlaJoy
virtuemart urls for products and search
« on: November 20, 2017, 16:54:30 pm »

i had a category named "smart-product". i changed it to "smart products". when i checked my site with a crawler i realized that i have the products in it in both:
i checked and in both menu and product categories alias is "smart products".
why has this happend? how can i solve it?

there are some URLs indexed by google that are making problems.,458-547
they have "results," in them like the URL above.
how these URLs are created? where in virtuemart? how can i prevent virtuemart form creating these kine of urls?



  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3505
  • using Matomo instead of Google Analytics
Re: virtuemart urls for products and search
« Reply #1 on: November 21, 2017, 10:41:43 am »
1. Probably cached pages. Clear all your site caches from the Joomla menu 'System > Clear Cache'.
2. Google tries to follow all links it can find. Those 'results...' should be from following the links from your pagination settings for the list box in the 'Configuration > Templates' page. However, your example looks strange to me, because the number is descending (results, 458-547). In general those pagination links indexed by Google don't hurt at all, because the pages actually exist and their source code includes a canonical url.
Non-English Shops: Are your language files up to date?

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3973
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: virtuemart urls for products and search
« Reply #2 on: November 22, 2017, 23:36:53 pm »
You need to add a redirect rule for your old category smart-product to smart-products in your .htaccess file.
If the shop is in the root is valid if the alias product-detail is a product, so no 404 at all(vm dont check anymore for category to set 404, but only to set the
 Joomla menu itemid)