Forum Moderators: phranque
Currently I am trying to enable a simple custom 404 error page via my htaccess file.
It works fine when I go to any url without a file extension on the website.
For example, www.mydomain.com/blahblah brings up my custom page just fine.
However, if i type in www.mydomain.com/blahblah.(html¦htm¦php¦asp¦etc) it leads to the standard, non-custom, 404 error page.
Anyone have any clue why this occurs?
Here is my code in htaccess:
ErrorDocument 404 / [mydomain.com...]
also used
ErrorDocument 404 / 404error.html