View Single Post
Old 11-19-2011, 05:21 PM  
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Quote:
Originally Posted by Mutt View Post
RedirectMatch 301 /seo/(.*) http://www.seomoz.org/$1

what's the '^' for in yours?
^ = "match at the start" i.e. match if the requested page/page starts with (in this case) "/"

Depending on your server setup, the paths/pages might or might not start with the "/"

So I usually do it like this (which I missed in my first post)

RedirectMatch permanent ^/?galleries/.........

The ? means that the "/" may or may not be there.
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote