Support » Plugin: Complete Open Graph » Facebook sharing URL not showing special characters ( diacritics, breve)

  • Hi!

    I have a problem related to sharing a post from my blog to Facebook.

    My URL should look like this actually:

    The character with a breve is : â. But when I share a post I want the link displayed in Facebook to contain sprâ and not
    How can I do that?

    I tried already to edit the functions.php on the Theme Editor with the following:

    function ow_ogurl_yoast_filter( $ogurl ){
    return str_replace( ‘xn--sprnceanaluidostoievski-k6b’, ‘sprânceanaluidostoievski’, $ogurl );

    But somehow it does not work :(. I need help and suggestions

    With the Facebook debugger option I can see:
    <!– Open Graph data is managed by Alex MacArthur’s Complete Open Graph plugin. (v3.4.5) –><!– –><meta property=”og:site_name” content=”Sprânceana lui Dostoievski”>
    <meta property=”og:url” content=””&gt;
    <meta property=”og:locale” content=”en_US”>

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

  • The topic ‘Facebook sharing URL not showing special characters ( diacritics, breve)’ is closed to new replies.