YOURLS Force Allow Duplicates
Createdkesslerio
Enables the creation of multiple short URLs with different keywords for the same destination URL in YOURLS.
About
This YOURLS plugin enhances the functionality of the default URL shortener by allowing the creation of multiple unique short URLs that redirect to the same destination. Unlike the standard 'Allow Existing URLs' plugin, this tool completely bypasses the uniqueness check when requested, providing true duplicate functionality. This is achieved by hooking into the `url_exists` and `shunt_add_new_link` filters, while also maintaining the original 'Allow Existing URLs' behavior as a fallback.
Key Features
- Bypasses YOURLS URL uniqueness check when 'force=1' is specified in the API request.
- Allows creation of multiple short URLs with different keywords for the same destination URL.
- Maintains original 'Allow Existing URLs' functionality as a fallback.
- Integrates seamlessly with the YOURLS API.
- Simple installation and activation via the YOURLS admin interface.
- 0 GitHub stars
Use Cases
- Generating different branded short links for the same content across various platforms.
- Providing unique short URLs for different marketing campaigns pointing to the same landing page.
- Creating multiple tracking links for the same destination for A/B testing.