WordPress Search screwed by apostrophe and single quote symbols
-
Hey guys,
I’ve found out that WordPress suffers from a bug / weird behavior from ages, as I saw unsolved threads speaking about it opened many years ago.
A video is worth a 1000 words, so if you want please have a look at this:
https://d.pr/i/xLoLybBasically, try searching
colpo d’aria
on whatever WordPress website which you wrote that word in, of course using the native WP Search function.
The result? Not found.
Please note that the URL is translated to
YOURDOMAIN/?s=colpo+d%27ariaso it’s %27.
What if I tell you that it seems to me that, if you wrote that post using the Visual Editor, probably WP converted the ‘ (single quote) symbol to an apostrophe, and that is why the search is NOT able to find it?
Try running the same search now from iOS, which is converting already the ‘ to the apostrophe.
The URL is now
?s=Colpo+d%E2%80%99ariaand the result is found.
My question is: how do you fix it?
Workarounding is simple: I edit the text from the apostrophe to the single quote… but that solves ONE problem out of potentially 100’s.
Any inputs?
thank you for your time
MarcoThe page I need help with: [log in to see the link]
- The topic ‘WordPress Search screwed by apostrophe and single quote symbols’ is closed to new replies.