redirect to another page (visible on url bar) with nginx?

Francis Daly francis at daoine.org
Fri Dec 16 10:48:48 UTC 2011


On Fri, Dec 16, 2011 at 05:39:05AM -0500, bobinfo wrote:

Hi there,

> I'm trying to figure out if / how I could redirect from an url to
> another one, but i would like this change to be visible, i.e to change
> the text / url in the url bar.
> 
> I've checked with url rewrite, but it seems to me that the rewriting is
> only internal, is there a way to do a visible rewriting?

http://wiki.nginx.org/HttpRewriteModule#rewrite

You want the word "redirect", just like you used in the first paragraph.

Good luck,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list