Forum Moderators: phranque
RewriteRule syntax for both. The redirect will need the [R=301,L] flags and will have a preceding RewriteCond testing THE_REQUEST to ensure only direct client requests are redirected. The rewrite will have the [L] flag and must not mention the domain name.