I use the Redirection plugin on WordPress. As a result I am in a constant arms race with spammy 404s, like these:

/page/320/?s
/page/7/?s=九州通2025校园招聘
/page/87/?s=Which of the following can result if an embryo implants close to the internal opening of

Redirection supports regular expressions and this is one of the few regular chances I get to use them. I only use simple Ignore so there’s no real harm if I get them wrong either. I just need to keep the logs clean(er) so I can see the legit 404s.

This is what I got:

^\/page\/\d+\/\?s.*

And the final redirect in Redirection looks like this:

Source URL: ^/page/\d+/\?s.* Title: Ignore spammy page/?s 404s Match: URL only When matched: Do nothing (ignore)

Leave a Reply

Your email address will not be published. Required fields are marked *

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)