Welcome! Log In Create A New Profile

Advanced

Remove query parameter

Ole Laursen
June 16, 2010 03:46PM
Hi!

Does anyone happen to have a snippet for removing a query parameter from the
query string?

I want to remove utm_source/gclid/... (added by Adwords and similar) from the
URL used on the server, changing for instance /shop/?gclid=blabla to /shop/, so
that nginx uses the cached version of /shop/ rather than generating a new page
via the proxy backend.


Ole


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Remove query parameter

Ole Laursen June 16, 2010 03:46PM

Re: Remove query parameter

Igor Sysoev June 17, 2010 12:32AM

Re: Remove query parameter

Barry Abrahamson June 17, 2010 01:14AM

Re: Remove query parameter

Ole Laursen June 17, 2010 11:06AM

Re: Remove query parameter

xgdlm June 17, 2010 02:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 137
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready