Hello,
I need to change :
new.domain.com -> domain.com/new.php
example.domain.com -> domain.com/example.php
now i'm using this code
RewriteEngine on
RewriteCond %{HTTP_HOST} ^new.domain.com$
RewriteRule ^(.*)$ http://domain.com/new.php [R=301,L]
works fine but when I write in browser address new.domain.com it changes to http://domain.com/new.php
How to make the address will be all the time in the browser http://new.domain.com?
I need to redirect to new.php file but I want in the browser still the same address new.domain.com
is it possible ?