Hi,
I am having a problem with 404 page.I have handled it through .htaccess and it is working fine as it redirects the page fine.But it is giving me error in my error log that file not found xxx/xxx/xxx/forums.Although I have handled 404 problem and it is working fine.But in this case it is giving me error.Please help me.
Thanks in advance

I have this in my HTACCESS file :

ErrorDocument 404 http://mywebsite.com/404.php

and it works fine for me. Please ensure that the file like 404.php which you are using as alternate 404 page, actually exists !

Thanks for replying.Yes the file is present and it displays 404 error page but as I am saying that when a user tries to access forums folder which is not present on server it gives the error in error log that file does not exist rather it should redirect to 404 page

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.