Forum Moderators: phranque
[edited by: phranque at 7:31 pm (utc) on Dec 11, 2013]
[edit reason] unlinked url [/edit]
RewriteRule ^(.*)$ htt://www.site_aa.com/$1 [r=301,nc]
//301 Redirect Entire Directory
RedirectMatch 301 htt://www.site_aa.com/exists_dir/(.*) htt://www.site_bb.com/exists_dir//$1
The supplied regular expression is matched against the URL-path
when there are Redirect(Match) and RewriteRule directives in the same scope, the RewriteRule directives will run first, regardless of the order of appearance in the configuration file.