Hello,
> RewriteRule ^/test.php /test2.php [R=301,L]
>
> use this in ur redirection , it will redirect as you expected.
>
In fact, I can do it using the P flag (proxy).
But just to know if anything smater...
-
The official Us
Hello
RewriteRule ^/test.php /test2.php [R=301,L]
use this in ur redirection , it will redirect as you expected.
Sravan
On Tue, Sep 22, 2009 at 6:39 PM, howard chen wrote:
> Hello,
>
> Consider rewrite rule as:
>
> RewriteRule ^/test.php /test2.php [PT,L]
>
>
> So when I access it via http:
Hello,
Consider rewrite rule as:
RewriteRule ^/test.php /test2.php [PT,L]
So when I access it via http://www.example.com/test.php
I want the field REQUEST_URI shown as test2.php, is it possible?
THanks.
-
The official Us