View Full Version : CSS menu using single page - Error Page

03-23-2009, 07:50 PM
I made a custom 404 error page and added the following code to htaccess:
ErrorDocument 404 /custom_page.php
(the posting said to enter the above form exactly but it was for html page - I changed to php. ?)

However, I was unable to redirect any pages because of an error in the line. So I deleted it from htaccess and now I can redirect. BUT, now if a page can't be found my custom error page opens but it doesn't have the header and menu on it.
How do I get the header and menu to show on my custom 404 Error page?

03-23-2009, 09:29 PM
Well, I solved this one. I"m not sure how but it's now working. I deleted the statement in htaccess that read: ErrorDocument 404 /error.php.
Then I added it back to htaccess. And guess what? I'm now getting my header and menu on my error page.