Page 1 of 1

Create and manage my own 404 error page

Posted: Thu 12. Jul 2007, 10:35
by jpwalker
Hi,

I'm currently trying to manage my own 404 error page. I have added some code lines in my .htaccess

Code: Select all

ErrorDocument 404 /index.php?error_page
It works great when I try to load

Code: Select all

http://www.mydomain.ext/lidurghf
But, when I try

Code: Select all

http://www.mydomain.ext/page_that_does_not_exist.phtml
or

Code: Select all

http://www.mydomain.ext/index.php?page_that_does_not_exist
I'm automaticly redirected on Homepage (index.php). Is there a tip to load my own 404 page when I try these links ?

Thx for all
Jp

Posted: Fri 13. Jul 2007, 13:56
by oeconom
correct, works as designed...!
Greetings,
Felix