I do know what it is, but implementing a .php on is something I could do with a quick bit of advice on.
Cheers all
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Code: Select all
ErrorDocument 404 /index.php?route=error/not_found
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Doesn't OC already redirect to the not found page automatically (my store seems to - 1.4.9.3)?You can add a .htaccess line that will do what you want
CODE: SELECT ALL
ErrorDocument 404 /index.php?route=error/not_found
This will redirect to the not found page of opencart for any file not found.
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Il give this a try.
I did try this before but had the page disabled instead hoping a direct link to it would work but the actual page is disabled and not simply invisible.
Use: ErrorDocument 404 /index.php?route=information/information&information_id=6 (where 6 is the id of your page).
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
after trying this solution in the htaccess file (put it right at the top)
ErrorDocument 404 /index.php?route=information/information&information_id=6
I created an information page and named it "404 Error" and made it's sort order -1
404 errors are still call the the not_found.tpl
Can someone point me in the right direction.
Cheers
Daz
For those trolling through all the "custom 404" posts. this is the one that actually works
http://forum.opencart.com/viewtopic.php?f=20&t=54975
Users browsing this forum: Google [Bot] and 142 guests