Announcement

Collapse
No announcement yet.

CSS menu using single page - Error Page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CSS menu using single page - Error Page

    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
    Jerry

    Great Adult Gag Gifts
    Rockdale, TX - Class of 1965
    Milam County Historical Commission


  • #2
    Re: CSS menu using single page - Error Page

    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.
    Last edited by jcaywood; 03-23-2009, 09:30 PM. Reason: change 'not' to 'now'
    Jerry

    Great Adult Gag Gifts
    Rockdale, TX - Class of 1965
    Milam County Historical Commission

    Comment

    Working...
    X