Am I missing something... redirect 404 errors to homepage

froginternet

Joined: 2011-12-12
Posts: 10
Posted: Fri, 2012-10-26 13:19

Maybe I am missing something but on G3 I cannot find how to properly redirect 404 errors to a proper 404 page or homepage. It would be hard to believe if this highly requested feature has not been addressed?

Thank you for the help!

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-10-26 13:23
 
froginternet

Joined: 2011-12-12
Posts: 10
Posted: Fri, 2012-10-26 14:02
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2012-10-26 15:46

I guess there is a couple of ways to do this if .htaccess does not work.
One would be to edit modules/gallery/views/kohana/error.php to redirect to where you want.
or
edit modules/galelry/views/error_404.html or redirect from there.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Wed, 2012-10-31 19:47

That's likely because of where you're putting the redirect. It sometimes has to go in a specific section and in a specific order, depending on how it's written.