Shortcut is a Craft CMS plugin that creates compact URLs from Craft without tying templates to one shortening service. Generate, store, and retrieve short links through a consistent API while choosing the provider that suits the project.
Pass a URL to Shortcut from Twig or PHP and receive a compact version suitable for messages, printed material, or other space-conscious contexts. Previously generated results can be retained rather than recreated on every request.
- Turn long destinations into compact links from Twig or PHP.
- Reuse generated shortcuts instead of requesting the same link repeatedly.
- Select a shortening service that fits the project.
- Use Bitly, TinyURL, is.gd, Rebrandly, or Short.io when links should be created externally.
- Keep shortened URLs within Craft when an external provider is unnecessary.
- Generate and retrieve shortcuts close to where they are presented.
- Add another service behind a consistent shortener interface.
- Keep service selection and credentials out of presentation templates.
Visit the Shortcut Plugin page for all documentation, guides, pricing and developer resources.
Originally created by the team at Superbig.
Get in touch with us via the Shortcut Support page or by creating a Github issue
Shortcut is licensed under the MIT license, meaning it will always be free and open source - we love free stuff! If you'd like to show your support to the plugin regardless, Sponsor development.