Skip to content

gorriecoe/silverstripe-shorturl

Repository files navigation

Silverstripe shorturl

Provides a shorter path to URLs using your domain.

Installation

Composer is the recommended way of installing SilverStripe modules.

composer require gorriecoe/silverstripe-shorturl

Requirements

Maintainers

Configuration

URL length

By default url_length is set to 5

gorriecoe\ShortURL\Models\ShortURL:
  url_length: 7

Internal link types

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

About

Provides a shorter path to URLs using your domain.

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published