Page 1 of 1

include function [Q]

Posted: Fri Aug 24, 2007 4:27 am
by cyberia
Hi all
1. I use an include functions I want when address was wrong include another page.How can I check function found or not found page?

2.[in wordpress]
how can I redirect 404 page template?

Thanks

Posted: Fri Aug 24, 2007 5:25 am
by Oren
Hmm... I can barely read your post so it's really hard for me to tell what you are looking for, but maybe this... function_exists()?

Posted: Fri Aug 24, 2007 6:16 am
by VladSun
As far as I can understand you post:

For Apache:

edit httpd.conf, Add/change:

Code: Select all

ErrorDocument 404 /path/to/you/page.php