Ignore all query parameters | WordPress.org

[ad_1]

*UPDATE: Turns out to be browser cache related. Ignore all query parameters worked as expected after clearing cache. Is there really no way to delete forum posts?

I am attempting to redirect a url containing query parameters to another url with no query parameters. But none of the three options are sufficient. The query parameter is passed to the target regardless of the option selected.

I am attempting to redirect as follows:

/webpage?queryparam=1234565664 ->

Both “ignore parameter” options end up with url

How can I match a url with parameters, but then drop them on the redirect?

  1. Exact match in any order: doesn’t match the original url so nothing happens
  2. Ignore all query parameters. Matches the url containing parameters, but passes them to the target
  3. Ignore and pass parameters to target. Exact same behavior as #2.
  • This topic was modified 13 minutes ago by MarkBosky.
  • This topic was modified 7 minutes ago by MarkBosky.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer