That's pretty slick, but is there any danger of it redirecting traffic you don't want to go there? Obviously, you couldn't use a ! operator if you had to contend with http and https requests...
Actually, no, that isn't what I wanted to do. If you look at the rules I wrote, You'll see that I wanted to rewrite 3 domains to match the canonical domain. It turns out that if I set the rule to...
I am trying to set up canonical redirects in my .htaccess file in order to manage my domains. The situation is complicated by the fact that there is already a set of rewrite rules in place for the...