Home › Forums › Other › Help with 301 .htaccess › Reply To: Help with 301 .htaccess
October 23, 2014 at 7:17 am
#186905
__
Participant
mod_rewrite is based on regular expressions, not shell pattern matching. “*
” is a quantifier that means “zero or more” —so “/*
” means “match zero or more slashes.” It would match “/”, “//”, “//////////”, etc., or even “”.
You would need to explain the relationships between the two URL formats more clearly, but assuming they are consistent, you could do something like
RewriteRule ^financial/blog/(.*)$ http://blog.eaglerockfinancial.net/financial/$1 [NC,R=301]