Provides a shorter path to URLs using your domain.
Provides a shorter path to URLs using your domain.
Composer is the recommended way of installing SilverStripe modules.
composer require gorriecoe/silverstripe-shorturl
By default url_length
is set to 5
gorriecoe\ShortURL\Models\ShortURL:
url_length: 7
Depending on the link type you may or may not want to prepend the domain and protocol to the destination url. SiteTree
and File
will automatically do this. If you need to define additional internal link types you follow the example below:
gorriecoe\ShortURL\Models\ShortURL:
internal_types:
- Product
- AnotherType
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem