Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Help with 301 .htaccess Reply To: Help with 301 .htaccess

#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]