Jump to content

Rewrite 'silent' redirect


mithrandir77

Recommended Posts

Hi All,

 

I am trying to do a simple redirect using apache and mod_rewrite, but I need it to be 'silent', in order to make the URL requested in the browser unchanged.

This is the rewrite example:

http://xxxx.yyyy.zz/username -> http://username.yyyyy.zz

 

the rewrite rule is quite simple, but using redirect flag makes the browser to change the url requested in the title bar.

Is there a way to do it locally in apache webserver?

 

Thanks so much.

Link to comment
https://forums.phpfreaks.com/topic/110931-rewrite-silent-redirect/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.