if you want something like this:
http://foo.example.com/this-is-my-page
to
http://bar.example.com/this-is-really-my-page
but http://foo.example.com/mypagemust respond without redirection
Is it possible?
Let's pretend that:
RewriteCond %{HTTP_HOST} ^foo\.example\.com [NC]
RewriteRule (.*) http://bar.example.com/$1 [L,R=301]
RewriteRule ^this-is-mypage /this-is-really-my-page [NC,L,R=301]
does not work
source
share