8 months ago

non-latin rtl script is reversing the URL of the page ?

Posted 8 months ago by nhayder


i noticed that when using full translated url for routed page i'm getting a reversed URL when executing the page.

in english version of the site i have this page


For other RTL languages i'm translating the entire url including the blog + sport+ article slug. for better SEO results,

Unfortunately, When doing that i'm getting a reversed URL because the language is an RTL language

//this is how my arabic url reads in english 
https://mywebsite/this-is-the-slug-for-the-view/sports/blog // <--- reversed URL ?.

NOTE: i typed the arabic URL in english so you can read it and see the problem the original route is written in arabic which is RTL language

any idea on how to fix this.

Please sign in or create an account to participate in this conversation.