How to redirect internally?

Yash Ganthe yashgt at
Fri Jul 27 12:12:17 UTC 2012


I have created a config so that a URL like is rewritten as

This is what I see in Mozilla Firebug

GET abc/electronics.html

301 Moved Permanently

GET index.php/electronics.html?store=abc

200 OK

What is annoying is that the browser now shows the rewritten URL and not
the pretty URL. How can we ensure that the redirection happens only

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list