regex - mod_alias subdirectory replacement -
I'm using a remit match to redirect all traffic from subdirectory 1 to subdirect2, whereas all of the URLs Keeping the share equal For example,
http://www.mydomain.com/subdir1/ will be redirected to
Http://www.mydomain.com/subdir2/ I am using this rule:
RedirectMatch 302 /subdir1/.* /Pre>but not for any page with more urls. Therefore it is not being matched with
http://www.mydomain.com/subdir1/index.htm, which is redirected to Should be done
http://www.mydomain.com/subdir2/index.htmIf anyone has any ideas, then I I appreciate it.
Does this thread really help?
Comments
Post a Comment