Info
- 4 posts
- 3 voices
- Started 2 years ago by OperaManiac
- Latest reply from Gautam
- This topic is not resolved
limit number of words in slug?
-
- Posted 2 years ago #
i searched through the forum but could not find an answer.
can i set a limit to the number of words in thread slug?
-
- Posted 2 years ago #
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?
-
- Posted 2 years ago #
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.
-
- Posted 2 years ago #
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
-
You must log in to post.