Click here to Skip to main content
15,922,166 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

I want to redirect on .htaccess without changing the URL!
It should display the content of:
But the URL stays ""

I was searching a lot and it always redirects changing the URL..

RewriteEngine On
RewriteCond %{HTTP_HOST} ^demo\.example\.com$
RewriteRule ^(.*) http:\/\/demo\.test\.com$1 [P]

Thank you..

1 solution

Have a look at the below URL if that's what your looking for.[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900