Forum Moderators: phranque

Message Too Old, No Replies

404 ErrorDocument

         

gosman

10:38 pm on Nov 4, 2007 (gmt 0)

10+ Year Member



I have implemented a custom 404 page. This works fine if the page being requested has an extension.

Example mydomain.tld/nosuchpage.htm

In the above example the custom 404 page is displayed. If however the page being requested does not have an extension.

Example mydomain.tld/nosuchpage

The custom 404 page is not displayed only the standard server 404 page is displayed.

Anyone have an ideas why this is?

phranque

11:37 pm on Nov 4, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



what mechanism are you using to serve the custom 404 page?
if you are doing it in the .htaccess, for example, perhaps it only serves the custom 404 after it decides the url looks like a file name instead of a directory name.
just a wild guess - there could be many reasons that cause this.