Welcome to WebmasterWorld Guest from 22.214.171.124
Moderators: Ocean10000 & incrediBILL & phranque
Example: Rewrite /domain1 [domain2.com...]
Assuming domain1 has a subdirectory is this true?
domain1.com/adirectory/ <rewrite> ===> domain2.com/adirectory/
Yes, Redirect uses prefix-matching; subdirectories and filenames not specified in the left-side pattern are added onto the URL on the right side.
It's actually harder if you don't want to keep the path - you have to use RedirectMatch.
Las VegasOctober 6-8, 2015