Combining rewrites for non-www/ssl/trailing slash with upper->lowercase in .htaccess
问题 So I have a straightforward rewrite to catch non-www URLs, non-SSL urls and urls missing a trailing slash to redirect to SSL, www and trailing slash using: <IfModule mod_rewrite.c> RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteCond %{HTTP_HOST} ^(.*)$ [NC] RewriteCond %{HTTP_HOST} ^(.*[^/])$ [NC] RewriteRule (.*\/)$ https://www.tierpoint/$1 [R=301,L] RewriteRule (.*[^/])$ https://www.tierpoint/$1/ [R=301,L] </IfModule> I'd like to add a rewrite to drive uppercase