• Hello.
    This issue is occurring months now bu until now this didn’t bother anyone so I just left it, only that now I understand that this can be annoying. When you visit a post on the site the permalink shows OK, for example: /permalink-example.
    But it seems like the actual permalink is something like this below. When I try to copy the permalink and paste it it displays this way, when you check ssl certificate on mobile it shows that the page in this format is secure, when you try view-source and inspect tool. So as I said this didn’t bother me, but now it is frustrating in many things for example: When you try social sharing it shares the link like this, when confirming comment subscription in email it says: confirm subscription for: long url and more. So anyway to fix this ?

    • This topic was modified 4 years, 7 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not an Everything else WordPress topic.

    The browsers handle non-ASCII right to left characters in URLs poorly.

    This is the URL in your example.

    /?????-???????-????-?????????/

    Which is fine in Hebrew but the URL gets “normalized” into ASCII.

    https://www.lookout.net/2012/03/unicode-normalization-in-urls.html

    So you get that large formatted string as a URL. A modern browser will display it correctly but the actual URL is normalized in the way you described.

    Thread Starter Daniel

    (@davil2008)

    so is there a way to change this ?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Not really. ??

    It’s a browser convention to ensure that your URLs will work regardless of the method or path to get to your site. It’s a least common denominator issue and in this case that is ASCII encoding.

    For example, if your users were behind a web proxy that did not work with unicode. The user tries to go to your site and the proxy rejects it as a malformed request. The user is frustrated and won’t think that the proxy should be updated. They’ll blame your site.

    Not all things handle UNICODE (though all things should) but everything on the Internet does handle ASCII. And the browser will display the URL correctly for the user even though it’s normalized into ASCII.

    Thread Starter Daniel

    (@davil2008)

    And if I would change the urls to be in english would it be fixed ?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Yes, but that’s conditional on the character encoding. If you used a post slug like this:

    /spaghetti-in-butter-tomato-sauce-and-basil/

    in ASCII that works.

    In UNICODE as a subset of the language you are using then it may not change it for you. And I do not think that normalization will hurt you in SEO tough I am not an SEO person so I may be wrong.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I asked another member of the Support Team, you may want to instead try this plugin and see if that helps you out.

    https://www.ads-software.com/plugins/cyr2lat/

    If you want your permalink to be short and simple
    you can just go to Settings > Permalinks > Post Name
    with the help of this all of your posts will have shorter link
    and the permalink will depend upon on your postname

    Tell Me if this was Helpful:)

    Thread Starter Daniel

    (@davil2008)

    OK, I installed the plugin, what should I do in the settings ?

    Thread Starter Daniel

    (@davil2008)

    Until now the https://justcook.co.il/sample-post/ was active, and I now changed to custom and entered /%postname%/ but the problem persists. I’m sorry if I’m not describing the settings correctly, my dashboards in Hebrew, although I already tried changing the language to english and whats weird is that wp-admin still was in hebrew, only on the public site all the alignments changed. Could you help me with too ?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I’ve never used that plugin, it was suggested to me because users may be put off from clicking

    /%d7%a1%d7%a4%d7%92%d7%98%d7%99-%d7%a2%d7%92%d7%91%d7%a0%d7%99%d7%95%d7%aa-%d7%97%d7%9e%d7%90%d7%94-%d7%95%d7%91%d7%96%d7%99%d7%9c%d7%99%d7%a7%d7%95%d7%9d/

    Instead of clicking

    /?????-???????-????-?????????/

    As you know the second one is clearly better for users to see instead of that long one.

    If you need help with that plugin then you may want to raise a topic in that plugin’s support forum. This link will let you do that.

    https://www.ads-software.com/support/plugin/cyr2lat/#new-post

    Thread Starter Daniel

    (@davil2008)

    OK, I will. But your saying that if I’ll change all the permalinks to english this issue would be resolved ? And what can cause this if I write the permalink in english, numbers, special symbols like @ or # ?

    Thread Starter Daniel

    (@davil2008)

    and nice hebrew buy the way !!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘actual permalink is super long ?’ is closed to new replies.