What is the ideal length of an URL slug

Posted by Sinan on Stack Overflow See other posts from Stack Overflow or by Sinan
Published on 2010-05-27T12:25:10Z Indexed on 2010/05/27 15:31 UTC
Read the original article Hit count: 279

To make pretty URL's from article titles I am using a simple function. However lately I an concerned about the ideal length of these "slugs". It is said that too many dashes are bad.

However some article titles can be long and a too long URL may not be liked by google. Of course that defeats th whole idea of having URL slugs.

So does anyone have any idea how long a URL slug should be. Should there be a limit on the "dash" charecters used?

© Stack Overflow or respective owner

Related posts about web-development

Related posts about web-applications