[wp-trac] [WordPress Trac] #10483: Change post_name's length from 200 to 400

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 17 02:48:29 UTC 2011

#10483: Change post_name's length from 200 to 400
 Reporter:  elnur                     |       Owner:  ryan
     Type:  enhancement               |      Status:  reopened
 Priority:  low                       |   Milestone:  Future Release
Component:  Permalinks                |     Version:
 Severity:  minor                     |  Resolution:
 Keywords:  dev-feedback needs-patch  |

Comment (by SergeyBiryukov):

 Replying to [comment:16 ldebrouwer]:
 > I once did a clean URL conversion from the cyrillic alphabet to the
 'regular' alphabet in a different CMS. 'Дистрибьюторы' would become
 'distributori' as a URL slug. This would solve the problem because I
 believe the latter is still valid Russian.

 It's not Cyrillic, so it's not valid Russian. Transliteration is
 acceptable for some people (including me), and there are some plugins
 which transliterate post and term slugs, but it's only a workaround and
 not a long-term solution for everyone.

 The best solution here would be to store slugs as is, not in urlencoded
 form, since it only allows 33 chars for non-English slugs, which is
 noticeably less than the original 200 characters limit.

 The problem is not only the length, though. Create two posts on 3.3-trunk
 with the same title:
 Предлагаем супер металлообрабатывающее оборудование
 The first one will just have a truncated slug:
 But the second one will have a broken slug:

Ticket URL: <http://core.trac.wordpress.org/ticket/10483#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list