Tag Archives: mod_rewrite

rewritification

Widge,
See the Apache docs on RewriteRule.
Your rule
RewriteRule ^(.+)\\.html http://www.needcoffee.com/html/$1.htm [r=301,nc]
says to match using ^(.+)\\.html (Beginning of URI, one or more characters until we hit a \ (presumably counts as backslash or slash here?) ending in .html, and store the “one or more characters” part for later use in a backreference.
Having captured the original URI minus [...]