• 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/xLoLyb

    Basically, 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%27aria

    so 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%99aria

    and 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
    Marco

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • your browser would convert it. some characters are not legal to use in a url. If you put a space in the url it would convert it. Your browser converts these characters not wordpress.

    Thread Starter marcofama

    (@marcofama)

    thanks mrtom

    the point is: why would Chrome on iOS handle the thing differently?

    honestly I don’t think it’s a browser thing

    it’s the predictive text feature in iOS for example, which properly and grammarly converts the right char (as in Italian, d’aria written the way you see it now it’s technically wrong, cause u need an apostrophe rather than the single quote)

    hope this helps a bit.

    thanks,
    Marco

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress Search screwed by apostrophe and single quote symbols’ is closed to new replies.