RewriteRule without changing the address in the browser
- by framp
Hello everybody!
I'm trying to make an address redirect to another one without actually changing the url in the browser address bar.
User go to domain.com/path/page.php and see what is displayed on domain.com/path/index.php
In the address bar the url remains domain.com/path/page.php
This is the code for the redirection:
Options +FollowSymLinks
RewriteEngine On
RewriteRule page.php index.php [NC]
I'm wondering if I need to use [P] for this task :/
Thanks in advance for you replies