Author Topic: SEF Doubles  (Read 441 times)

d0ublezer0

  • Jr. Member
  • **
  • Posts: 178
SEF Doubles
« on: August 10, 2018, 07:56:11 am »
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 1811
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: SEF Doubles
« Reply #1 on: August 10, 2018, 07:58:19 am »
No VM version given ...

There is a configuration that turns off VM handling 404.

regards

Jörgen @ Kreativ Fotografi

Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

d0ublezer0

  • Jr. Member
  • **
  • Posts: 178
Re: SEF Doubles
« Reply #2 on: August 10, 2018, 08:08:24 am »
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 1811
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: SEF Doubles
« Reply #3 on: August 10, 2018, 08:37:23 am »
What happens if You turn off SEF ?

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

d0ublezer0

  • Jr. Member
  • **
  • Posts: 178
Re: SEF Doubles
« Reply #4 on: August 10, 2018, 08:51:43 am »
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

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3544
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: SEF Doubles
« Reply #5 on: August 10, 2018, 17:27:27 pm »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8599
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: SEF Doubles
« Reply #6 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?
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3378
  • using Matomo instead of Google Analytics
Re: SEF Doubles
« Reply #7 on: August 10, 2018, 23:10:59 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

...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