I’m using permalinks in WP as: domain.com/category/post_name
The issue is that post names have non-latin characters such as chinese, hebrew, and arabic. So it encodes them to something like: %20%18%6b%20 therefore it counts every symbol’s character as an actual character, ending up with 3x times more length that it truncates some very short slugs.
How to fix that? Or at least how to extend the length limit at least? I’ve tried to extend the length of the database field “post_name” from 200 to 500, But it’s still truncating short.
You can change
post_nameby appling the filters forsanitize_title…Short example:
but, be careful… bad sanitizing can be security risk… sql injections etc…