Say I have a category "/shop/shoes"
If I type any random text after that e.g. "/shop/shoes/ewqroiu23509u7rew"
Virtuemart returns the "shoes" page with a 200 HTTP code.
This is bad.
It needs to return 404 code or SEO goes down the drain.... What is going on?
I have changed the URLs for some products, and now Google is not getting a 404 for the old links, they are getting valid category pages instead (bad bad bad).
vm 3.6.1 10129
Joomla 3.9.11
"Enable VirtueMart 404 error handling" is enabled
It produces a canonical url for the shoes page.
users getting a 404 is not good for SEO either.
dont change links without really planning things out and testing.
[Old topic, but still relevant.]
There needs to be an option to have true 404 response for non-existent products and pages.
It's basic web standards.
??
Quote from: GJC Web Design on October 11, 2021, 10:53:42 AM
??
This option is not working for me.
Two sites, with different templates, VM 3.8.8 and VM 3.8.9.
Just found that I also reported this in another thread: http://forum.virtuemart.net/index.php?topic=146523
And others have reported something similar...
http://forum.virtuemart.net/index.php?topic=138969.msg487708#msg487708
Quote from: EvanGR on October 11, 2021, 13:57:19 PM
Quote from: GJC Web Design on October 11, 2021, 10:53:42 AM
??
This option is not working for me.
Two sites, with different templates, VM 3.8.8 and VM 3.8.9.
Just found that I also reported this in another thread: http://forum.virtuemart.net/index.php?topic=146523
And others have reported something similar...
http://forum.virtuemart.net/index.php?topic=138969.msg487708#msg487708
Just tested almost all releases of VirtueMart 3 with stable hosting using default template based on VirtueMart3.2.0_Joomla_3.6.5(3.10.2)-Stable-Full_Package.zip. Everything fine for those who would like to not use VirtueMart 404 error handling.
@Maxim
Thank you. Did you try with Joomla SEF URL active?
Quote from: EvanGR on October 14, 2021, 08:46:45 AM
@Maxim
Thank you. Did you try with Joomla SEF URL active?
It was "http://.... /vm/headpiece/cowbo1y-hat-detail"
Thank you for testing.
I will look into it further and try and figure out what's causing this on my setup.