I have been looking for an answer this without any luck (searched everywhere)
Basically, I want to rewrite a page (subfolder) to a new domain without changing the url.
I've tried with no luck:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/test/
RewriteRule ^(.*) http://newdomain/$1 [P]
I have had a look at the "duplicate" question and it doesn't answer.
It does not explain how to rewrite a page to a new domain without changing the url.