Limit Slug (URL) Length

Limit Slug (URL) Length 1.0.0

No permission to download
Compatible XF 2.x versions
  1. 2.2
Visible branding
No
This add-on creates a new setting under Basic Options called Limit Slug Length:
1689237485778.png


It simply does what it says, shortens the "text"-part (also known as a slug) to be withing the defined number of characters..


Note: It also shortens slugs in the admin, but this will be fine as all things are anyway using the slug.id-format so all pages will work as normal
Author
mazzly
Downloads
21
Views
424
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from mazzly

Latest reviews

Works beautifully!! Thank you so much!

Some context as to why it's needed:

I'm porting some communities from Reddit and trying to mimic the Reddit titles & URLs.

I increased the thread title length to 300 characters: https://xenforo.com/community/threa...racter-thread-title-limit.215208/post-1636200 - may also eventually be doable with mazzly's title addon https://xenforo.com/community/threads/thread-titles-manager.207155

And changed the layout of the titles to be more compact: https://xenforo.com/community/resources/cxf-customize-row-below-thread-title.6984/

This addon is the 3rd and final piece of the puzzle - reducing the 300-character URLs down to a custom size (70 is nice).
Back
Top Bottom