I’m using WordPress with RTL|UTF8|Persian content. When I use the example.com/post-name permalink structure, I have two problems:
When I change the post URLs, it creates redirect problems. (I don't always choose the best URL the first time.)
RTL URLs turns into percent-encoded form when users copy and paste them into social media (like
example.com/%D9%87%D8%A7%D8%B1%D8%AF-%D8%A7%DA%A9%D8%B3%D8%AA%D8%B1%D9%86%D8%A7%D9%84). This pushes me to translate my post name into English to get an ASCII URL. But not all authors pay attention to URLs and choose a Persian title.
So I decided to choose the example.com/post-id URL structure. I think this structure have this benefits for me:
- I never need to change URLs when I update the post titles.
- It does not depend on post name or site language; and there are no unicode problems.
- It's short and simple, especially for sharing.
But I have some worries about it. Is it OK from SEO and user experience aspect? Is using number form for the URL path (example.com/1223) a bad idea at all?
%20) etc. You have to view the HTML source to see the %-encoded URL (if indeed it is %-encoded in the HTML source) or look at the network traffic. The "problem" would seem to be with social media if they don't %-decode the visible URL? – MrWhite Dec 18 '20 at 14:04