.htaccess - redirect directory to domain htaccess without changing domain url -
i have site sub.domain1.com
but access following url: domain2.com/folder
here .htaccess file in domain2.com
rewriteengine on rewritebase / rewriterule ^folder/(.*) http://sub.domain1.com/$1 [l,r=301]
this redirection works wouldn't change url sub.domain1.com
i want display content of sub.domain1.com using url domain2.com/folder without changing url.
thanks in advance
Comments
Post a Comment