Welcome! Log In Create A New Profile

Advanced

Nginx redirect quey string to url

June 29, 2017 03:20PM
I am trying to redirect a query string to url and I am using like this but it is somehow not working. Can somebody help?

rewrite ^/abc/xyz/def.php?Id=13 http://www.example.com/fhu/foo permanent;
rewrite ^/abc/xyz/def.php?Id=14 http://www.example.com/fhu/bar permanent;
Subject Author Posted

Nginx redirect quey string to url

AjaySawant June 29, 2017 03:20PM

Re: Nginx redirect quey string to url

Richard Stanway June 29, 2017 07:24PM

Re: Nginx redirect quey string to url

AjaySawant June 29, 2017 07:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 102
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready