![]() |
|
| |||||||
| Notices |
| CSS Cascading Style Sheets All topics and discussions relating to CSS Cascading Style Sheets. |
![]() |
| | Thread Tools |
|
#1
| |||
| |||
|
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 For great adult gag gifts Rockdale, TX Class of 1965 Milam County Historical Commission |
|
#2
| |||
| |||
|
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.
__________________ Jerry For great adult gag gifts Rockdale, TX Class of 1965 Milam County Historical Commission Last edited by jcaywood; 03-23-2009 at 10:30 PM. Reason: change 'not' to 'now' |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |