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?
Thanks
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?
Thanks
Comment