WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#47755 new defect (bug)

Permanlink in RTL version not correct

Reported by: rachid84 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Permalinks Keywords:
Focuses: ui, rtl Cc:
PR Number:

Description

I have notice many problem with permanlik in version RTL:
1- for example : https://www.byarabic.com/category/دروس/تعلم-السياقة/
تعلم-السياقة = child
دروس = parent

in LTR this is how it was : http://www.example.com/category/parent/child
but in RTL it display like this : http://www.example.com/category/child/parent
so the correct direction is http://www.example.com/category/parent/child
all url must be in LTR direction even if it in arabic letter.
so the correct direction for my permalink must be like this :
https://www.byarabic.com/category/تعلم-السياقة/دروس
* if you have an arabic support please let him to write the link manual and you will see the first word after "category" will write like this : category/دروس/
but the second word in arabic after category/دروس will write like this :
category/دروس/تعلم-السياقة this is a problem , because the second word in arabic must be the last word in url , like this category/تعلم-السياقة/دروس

2- setting -> permanlik : the input field it appear behind text :
https://prnt.sc/oi7t8x
the correct way to show input field it like version LTR, like this :
https://prnt.sc/oi7u63

3- also the same problem in article :
—- first about the title of the post it show like this
https://prnt.sc/oi7v2a
but the correct way is like this : https://prnt.sc/oi7w42
— other place show wrong direction of permalink, like this : https://prnt.sc/oi7wjy

4- about decode url: if I copy an arabic permalink from browser and I past it in other place like here it will dipslay some symbole like %%%%% :
example of my permalink : https://www.byarabic.com/category/%d8%af%d8%b1%d9%88%d8%b3/%d8%aa%d8%b9%d9%84%d9%85-%d8%a7%d9%84%d8%b3%d9%8a%d8%a7%d9%82%d8%a9/

so I have to decode link to fix the problem and then I can send it to my friend
I use this website to decode it : https://www.url-encode-decode.com/

Change History (3)

#1 @johnbillion
3 months ago

#47756 was marked as a duplicate.

#2 @SergeyBiryukov
3 months ago

  • Component changed from General to Permalinks
  • Focuses ui rtl added
Note: See TracTickets for help on using tickets.