Help with query strings in page rules

I am looking to create a redirect rule that targets all pages with the querystring ?page=.
For eg - mywebsite/archive/page/203/?page=22
mywebsite/page/971/?p=hjguhifpgly&page=3&amp
mywebsite/celebrities/page/284/?page=96&amp

We had actually moved our website from a different CMS to Wordpress. The earlier CMS paginated with the query string ?page=** and now Google indexes hundreds of thousands of such pages with these erroneous strings.

I just want to create a rule that redirects all such pages to the homepage.

I’d assume

/*?*page=*

would work

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.