Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz

    (@bcworkz)

    Don’t use spaces in any URL element. It’s likely why manually typing मेरा संघर्ष doesn’t work. WP normally replaces all spaces with a hyphen (-), you should too.

    As for the junky looking encoded URL (%E0%A4%AE...), it’s necessary to safely store non-Latin characters. Browsers should decode these back to proper looking URLs, but if they are appearing encoded on your site’s front end, it’s because your theme failed to decode the “safe” URL back to normal. html_entity_decode() can be used to decode such safe URLs.

    In addition: the URL you mentioned is not a subdomain. A subdomain would be the “hi” in https://hi.wordpress.org.

    And: in addition to the above reference to the space, it also depends on WHERE you then insert this link. WordPress should actually format this correctly. Email programs may have problems with this. Unfortunately, I can’t judge it in social media.

    Thread Starter MyNation

    (@mynation)

    @bcworkz Thank you for the reply. thats what i was trying to do, either remove space or add – between 2 words, but when i change this within wordpress domain name and URL in settings it breaks who sub directory level subdomain.

    @threadi What i mean subdomain means, its built with directory type subdomain with WPMU

    Browser encode non latin to actual readable word correctly,

    When i change मेरा संघर्ष to मेरा-संघर्ष or मेरासंघर्ष it breaks whole site. unless i revert back in DB file change as actual word.

    is there anywhere else i have to change than within WordPress Domain and URL place and WPMU network settings on main site?

    Thread Starter MyNation

    (@mynation)

    Thank you all.

    Even I changed everywhere including WP/Network and base directory, non Latin words was creating problem in sitemap too,

    so I just changed URL to https://mynation.net/mera-sangharsh/

    THANK YOU

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.