Using mod_speling with multi-level htaccess and rewriterules
- by michaelcgorman
We recently switched formats for managing our 301s. For the most part, everything went well, but it seems to have stopped mod_speling from working properly. Here's what we changed:
old /var/www/html/.htaccess:
RewriteEngine on
RewriteBase /
# Change SHTML to HTML
RewriteRule ^(.*)\.shtml$ $1.html [R=permanent,L]
# Change PCF to HTML ('cause,…