Results 1 to 2 of 2

Thread: CSS menu using single page - Error Page
      
   

  1. #1
    Join Date
    Dec 2007
    Location
    Bastrop, TX USA
    Posts
    421

    Default 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

  2. #2
    Join Date
    Dec 2007
    Location
    Bastrop, TX USA
    Posts
    421

    Default 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 at 09:30 PM. Reason: change 'not' to 'now'

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •