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 *

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.