News:

Support the VirtueMart project and become a member

Main Menu

404 question

Started by mblokdijk, August 29, 2016, 19:47:35 PM

Previous topic - Next topic

mblokdijk

i am not getting vm 404.

when i type domain.com/asdf/adf it shows the vm homepage

i just want to create my own 404 page.

tried htaccess
tried /templte/templatename/error.php
tried enable 404 in virtuemart
tried sf404 component, etc.

nothing works...

my question is, how can i get my OWN 404 page instead of the vm homepage?

not logical and ugly...


Passionate Joomla webdeveloper from the Netherlands, please checkout jmodules.com

GJC Web Design

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

mblokdijk

#2
yep... tried all even change the router.php... nothing works.. ;-(

this is not logical.. (below between brackets, from the tread you mentioned)
[
for example. if your shop alias is

/shop

then you type in

/shop/axnlksdlklkfjkldgfj     you will NOT get a 404
what you get is    /shop   display, BECAUSE vmart/ joomla has NO idea what the "view" is supposed to be to even know if its a fake category.

& OP,
This really does not create a SEO problem. The canonical url is in the head of the doc.
Report

]

in my opinion: 404 means not found, it does not mean 'show vm homepage instead'

i want a 404 to give a message to the viewer, that what he types is not available... it's not that hard.. but i cannot get this to work..
Passionate Joomla webdeveloper from the Netherlands, please checkout jmodules.com