Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What are resources for learning the various things I can do with .htaccess?


locked by Stephen Ostermiller Dec 11 '15 at 13:55

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

Stupid htaccess tricks, despite the name and colour scheme it's not stupid.

Clicked on this question with the intent of posting that link. Great resource. – tnorthcutt Aug 4 '10 at 16:20
But whatever you do, don't use the snippet to "limit server request methods to GET and PUT". The HEAD verb is Critical to cacheability. – JasonBirch Aug 7 '10 at 3:50

Here is my favourite one:

Make sure you read part two as well that covers mod_rewrite: