News:

Looking for documentation? Take a look on our wiki

Main Menu

SEF Doubles

Started by d0ublezer0, August 10, 2018, 07:56:11 AM

Previous topic - Next topic

d0ublezer0

We have some category, for example: https://www.road.media/headunit/mitsubishi
this is normal URL
but if we add some trash to url it will be opened like there is normal place
https://www.road.media/sdkfjsahhu27/987987/mitsubishi
where is 404 error?

Jörgen

No VM version given ...

There is a configuration that turns off VM handling 404.

regards

Jörgen @ Kreativ Fotografi

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

d0ublezer0

#2
Sorry, VirtueMart 3.2.12
i tried 404 handling on/off - nothing changes
pages still returns 200 code

VM is set as homepage

Jörgen

What happens if You turn off SEF ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

d0ublezer0

#4
Turning off SEF urls in Joomla config did not bring anything useful

I understood what's the matter, this is not a SEF or routing problem.

The problem is known long time ago: https://forum.virtuemart.net/index.php?topic=119171.0
When the VM is installed as the main page, the error handling is wrong
and in the absence of a section or product, the VM still displays a suitable (in its opinion) section or redirects to the main page.
there is a solution with a core hack, but this excludes the convenience of updating - each time you need to add it manually.

Studio 42

Quote from: d0ublezer0 on August 10, 2018, 08:51:43 AM
there is a solution with a core hack, but this excludes the convenience of updating - each time you need to add it manually.
You are in a forum to share, so please explain, if you can help and with some luck your code get added in core a day.

GJC Web Design

I'm sure this was discussed at length here.. or was it in the testers Skype group?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jjk

#7
Quote from: GJC Web Design on August 10, 2018, 17:38:50 PM
I'm sure this was discussed at length here.. or was it in the testers Skype group?

See http://forum.virtuemart.net/index.php?topic=135091.msg469989#msg469989

Quote from: d0ublezer0 on August 10, 2018, 07:56:11 AM
...but if we add some trash to url it will be opened like there is normal place ...where is 404 error?

This is what Google says about 'add some trash to an url':
"If you don't recognize a URL on your site, you can ignore it. These errors occur when someone browses to a non-existent URL on your site - perhaps someone mistyped a URL in the browser, or someone mistyped a link URL."



Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations