Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adigitalife/yourls-case-insensitive
Makes YOURLS case insensitive
https://github.com/adigitalife/yourls-case-insensitive
Last synced: 2 months ago
JSON representation
Makes YOURLS case insensitive
- Host: GitHub
- URL: https://github.com/adigitalife/yourls-case-insensitive
- Owner: adigitalife
- License: mit
- Created: 2016-05-16T12:33:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-08-16T07:32:51.000Z (over 2 years ago)
- Last Synced: 2024-08-02T06:14:29.923Z (5 months ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 11
- Watchers: 3
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome - Case Insensitive - Make YOURLS case insensitive: if you create `http://sho.rt/MyLink`, then variations like `mylink` or `MYLINK` will redirect to the same URL. (Plugins / C)
README
Case Insensitive YOURLS
Makes YOURLS case insensitiveIMPORTANT: This plugin does NOT work with YOURLS version 1.9.1 or later. Instead, try this one: https://github.com/seandrickson/YOURLS-Case-Insensitive
Example use cases:
1. Users create short links with mixed cases (ex. ShrtLnk) and then they forget or someone makes a mistake (ex. shrtLnk). This plugin allows users to make such mistakes (ex. ShrtLnk, shrtLnk, Shrtlnk, shrtlnk, etc. all work the same).
2. Users might decide to create very similar short links (ex. user 1 creates ShrtLnk and user 2 creates shrtlnk). This can be confusing. This plugin eliminates such issues (ex. if user 2 tries to create shrtlnk and ShrtLnk already exists then the short link creation fails).Instructions:
1. Copy the 'case-insensitive' folder to user/plugins/.
2. Activate the plugin in the YOURLS admin interface.That's it.
Note: This plugin assumes that the value of YOURLS_URL_CONVERT in your config.php file is 62. If it's 36 then this plugin is both unecessary and inapplicable since YOURLS will anyway only accept lower case characters.