How to allow for redirecting on same URL with different query strings? I'm using Drupal 7. I have about 120 urls with different query strings, and Drupal is not allowing me redirect on same url with different query strings/parameters.

For example:

I have to redirect from this url blog/its-time-occupy-it?page=1 to blog/its-time-occupy-it. See more example given below;

(from url) blog/about-author?page=1  -&gt; (to url) blog/about-author
(from url) blog/about-author?page=2  -&gt; (to url) blog/about-author
(from url) blog/about-author?page=3  -&gt; (to url) blog/about-author


Any suggestions to give me solution to fix this issue?
Using the Rules module you can implement a rule that looks like so:
{ &quot;rules_redirect_all_node_aliases&quot; : {
    &quot;LABEL&quot; : &quot;Redirect all node aliases&quot;,
    &quot;PLUGIN&quot; : &quot;reaction rule&quot;,
    &quot;OWNER&quot; : &quot;rules&quot;,
    &quot;REQUIRES&quot; : [ &quot;rules&quot; ],
    &quot;ON&quot; : { &quot;init&quot; : [] },
    &quot;IF&quot; : [
      { &quot;text_matches&quot; : {
          &quot;text&quot; : [ &quot;site:current-page:path&quot; ],
          &quot;match&quot; : &quot;blog\/about-author?page&quot;,
          &quot;operation&quot; : &quot;starts&quot;
        }
      }
    ],
    &quot;DO&quot; : [
      { &quot;redirect&quot; : { &quot;url&quot; : &quot;blog\/about-author&quot; } }
    ]
  }
}

It will redirect any path starting with blog\/about-author?page to a path named blog/about-author. So this will &quot;redirect any such paths but with different query strings/parameters to the same url&quot; (as in your question ...).
To experiment with this rule in your own site, just copy the entire Rules code above, and paste it in a new Rule in your own site, created via the &quot;Import&quot; function (available if you have the Rules UI enabled).
But wait, there is more ...
You could also check if page was specified as an URL argument. And make the actual value specified for such argument (like in your question: the 1, 2 or 3 after page=) available as a new variable to Rules. To do so, use the Rules URL Argument module. Here is a quote about it (from its project page):

... provides two rules conditions based on URL arguments:

check if a URL argument is present.
compare the value of an URL argument.

It also provides an action that makes the value of an URL argument available as new variable to Rules.

The newly provided Rules actions and conditions can be found under the &quot;URL Argument&quot; conditions and actions groups in the rules configuration interface.
For an example of how to use it, refer to Comment # 3 in issue # 1686360 which is about &quot;Pass an amount to the url, ie; site/content/node-title?amount=10 or /node-title?=amount:10&quot;. Here is the relevant part of it:


add a &quot;Check if URL argument exist&quot; condition to your rule and set the &quot;ARGUMENT&quot; value to &quot;amount&quot;.
add &quot;Provide URL argument value&quot; action to the rule and set &quot;URL ARGUMENT NAME&quot; value to &quot;amount&quot; and in the &quot;Provided variables&quot; section &quot;ARGUMENT FROM URL - Variable name&quot; to e.g. &quot;amount_from_url&quot;.

You will now be able to use the amount value as a variable &quot;amount-from-url&quot; for other actions in this rule.