WordPress Search – Redirect plural search terms to singular ones

Today I am sharing quick gist which can redirect plural search terms to the results with singular search terms.
Here is when it can be useful:
Let’s say you have some article/page/product which contains the word “e-book”. But your visitor enters your website and searches for the term “e-books”. By default search algorithm he/she will get “not found” message.

But if to implement this small gist, you can win that visitor:

Get more useful WP tricks and snippets by subscribing to my mailclub.

5 Replies to “WordPress Search – Redirect plural search terms to singular ones”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.