Skip to:
Content
Pages
Categories
Search
Top
Bottom

limit number of words in slug?

  • i searched through the forum but could not find an answer.

    can i set a limit to the number of words in thread slug?

Viewing 3 replies - 1 through 3 (of 3 total)

  • chrishajer
    Participant

    @chrishajer

    Not by default. There is probably a way to do it with a plugin. Since the slug is based on the title, why not make the title limit shorter? If I used onereallylongwordtogetaroundthelimit would you want that prevented as well? Max number of characters or words in a title or slug?

    well its hard to restrict the title limit on a community. twitter is hard enough to manage with a limit.

    i was actually surprised that no one has had this issue and there were no plug-ins either. :)

    well words would be fine. 3-4-5 to keep the link short and sweet. of course i am not looking for a wordpress like slug feature. but a vbseo like fixed limit on the number of words.


    Gautam
    Member

    @gautam2011

    I think you need to hook a filter into the slug and then explode “-” from string, then only join the number of values from the array with “-” as many as you need in slug

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar