How to ignoring query string?

After migration from Blogger, Google Web Master show me 404 error in many link that use query string.

for example:

If your hosting support .htaccess use it for redirect 301 or RewriteRule + regexp. .htaccess can be placed in ‘static’ folder of hugo site.

Where are you hosting your site? Most web servers should ignore the query string as long as exists.