How to urldecode for internal links in a post?
-
Hi,
As anybody knows, WordPress save the posts’ slug ($post_name) as a urlencoded strings in the database, which for utf-8 non-English blogs, they would be long percent encoded strings (like: %d9%be%d8%b3%d8%aa-%d8%b3%d9%88%d9%85).Meanwhile the content and title of any posts save as it is (normally ISO-8859-1).
So when WordPress shows a post, the generated code for the title of that post and the url of that post would be in different encoding, for example if my post title is: ??? ??????? all the urlencoded links to that post would be: %D9%BE%D8%B3%D8%AA%20%D8%A2%D8%B2%D9%85%D8%A7%DB%8C%D8%B4%DB%8CNow, my questions are:
1- Is it possible that it makes a negative impact on SEO of my posts?
2- How can I force WordPress to show internal links as ISO-8859-1?Thanks in advance for any help
- The topic ‘How to urldecode for internal links in a post?’ is closed to new replies.