Post names (slugs) getting insufficient
-
Hello,
I’ve encountered an issue with URL encoding for post names in WordPress. The current process of URL encoding before saving in the database seems to result in insufficient field size, especially for some languages like Russian and Arabic. The URL encoded format becomes overly lengthy, accommodating only 3 to 4 smal words in these languages and truncating the rest of the title which makes it unreadable and bad for SEO.
The sanitization process involves various actions, including the use of utf8_uri_encode. I’m hesitant to modify the code directly to avoid potential errors or vulnerabilities. I’m seeking advice on alternative solutions to address this issue without compromising the code’s integrity. Any suggestions would be greatly appreciated.
Best regards.
- The topic ‘Post names (slugs) getting insufficient’ is closed to new replies.