Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

VM2 how to not sef 404 urls?
(1 viewing) (1) Guest
Support forum for customers who have purchased this product with priority support pack. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: VM2 how to not sef 404 urls?

VM2 how to not sef 404 urls? 10 years, 8 months ago #43512

Hi,

How can I do in order that Virtuemart 2 urls like index.php?option=com_virtuemart&error=404&view=category&virtuemart_category_id=57 are not SEF??

This urls are generated by Virtuemart when you access a product is eliminated or despublish. This happens due we have product pages that are cached by Google, then we despublish the product (coz we don´t sell it anymore) and when searching on Google it shows it on his results and when clicking VM is redirecting to the correct category where the product was showing it doesn´t exist more + it´s 404 message.

The problem is that this url with the &error=404 it´s stored by JoomSef and then it´s meta-tags are showed in this page instead the ones of the URL withouht the variable &error=404
Finally the caused issue it´s bad SEO for this URLs that are generated with the error=404

Thanks for your help!!! :)

Best regards,
The topic has been locked.

Re: VM2 how to not sef 404 urls? 10 years, 8 months ago #43513

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

Navigate to JoomSEF -> Manage Extensions -> VirtueMart and on the Common tab set "Do not SEF URLs matching regular expression" option to "error=404" (without the quotes). That should prevent such URLs from being handled by JoomSEF.
ARTIO Support Team
The topic has been locked.

Re: VM2 how to not sef 404 urls? 10 years, 8 months ago #43515

Hi Dajo,

Thanks for the reply!
My problem in that on that field you´re telling me right now I have the value "virtuemart_manufacturer_id=" due that´s another option I need.

How do I enter a second value in order to do not sef also "error=404"?? I´ve tried using colon "," but then none of both options for do not sef urls are not working and the I have a mess on my urls :P

Thanks in advance for your help and tips!!
The topic has been locked.

Re: VM2 how to not sef 404 urls? 10 years, 8 months ago #43529

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

The field uses regular expression syntax, so you can use the pipe symbol for multiple matches, in your case this should work:
virtuemart_manufacturer_id=|error=404
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
User Login Empty