Non-english UTF-8 characters in URLs work only when urlencoded

#56302
  • Resolved realOnes
    Rank Math pro

    Hello,

    (fyi I’m using WooCommerce) I have an issue that I think happens when I enable the “Remove category base” setting. My product categories are in non-english UTF-8.
    Any link clicked from within the site works fine. But clicking from a link on Google or using a non-urlencoded version of the link are getting a 404.

    Is there anything I can do to fix that?
    (fyi I’m using all the latest software wordpress/Ubuntu/Apache etc.)

    Thank you

    • This topic was modified 3 years, 10 months ago by realOnes. Reason: fix sensitive urls
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Todd
    Rank Math free

    Hi,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    Both the URLs you shared are throwing a 404.

    Could you please share the working version of the URL?

    Sorry, I forgot and disabled “Remove category base” in order to have working links. Can you check again with the same links from pastebin?

    Thanks

    Todd
    Rank Math free

    Hi,

    I see the issue.

    It seems your server is set up to have case sensitive URLs.

    If you use upper case URLs – your website throws a 404.

    You can test this on this URL:
    /aleuri

    It should work.

    Now try the same URL but with upper case:
    /ALEURI

    It doesn’t work and throws a 404. That is what is happening when you enable the option in Rank Math to strip the category base.

    Please talk to your web host and have the URLs work irrespective of the letter case. Then, the URLs will work perfectly fine.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The ticket ‘Non-english UTF-8 characters in URLs work only when urlencoded’ is closed to new replies.