Am using .htaccess to create custom error pages, but the thing is that, it works on other browsers such as safari, chrome, firefox, opera but not on IE. here's my code, what is it that am missing why won't it work on IE?
###################################
##
## HTACCESS CONTROL MODULE
## USED TO REDIRECT/DYNAMICALLY
## CONTROL URL's ON A WEBSITE
##
##
###################################
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*)\.htm$ $1.php [NC]
# custom error documents
ErrorDocument 404 /404.php
ErrorDocument 403 /403.php
ErrorDocument 500 /500.php
First of all this behavior can be triggered by this IE (IE8 in my case) setting:
Second, this setting will be ignored in case your error page is larger than 512 bytes. I.e., your error page should be larger than 512 bytes if you want it to show up in Internet Explorer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With