3 things you can do with .htaccess files that we probably haven’t mentioned on this blog before:
1). Put error messages in the .htaccess file as opposed to creating separate web pages. There is no real reason to do this. However, it is pretty cool, in that you can pretty much create a website using just an .htaccess file and no other files.
ErrorDocument 404 \"<html><head><title>This Is a Demo</title>
</head><body>Here is some cool stuff:<ul><li>Some text</li>
<li><a href='http://www.justsearching.co.uk/'>A Link</a></li></ul></body></html>\"
2). Use mod_rewrite to rewrite a URL internally with no redirect. I don’t believe that we have ever covere...