Welcome! Log In Create A New Profile

Advanced

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

December 16, 2011 05:39AM
Hi!

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?

I would like to transform the search url created by a search form (/search.php?key=(.*)&page=(.*)&cat=(.*)&filter=(.*)&orderby=(.*)) in a clean url like /search/$1/$2/$3/$4/$5/ (and then the clean url will be converted to something else via the rewrite module)

Is there any way to do that?

Thanks!

bob :)
Subject Author Posted

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

bobinfo December 16, 2011 05:39AM

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

Francis Daly December 16, 2011 05:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 134
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready