Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tinjaw/Always-302
Always return a 302 response.
https://github.com/tinjaw/Always-302
Last synced: 2 months ago
JSON representation
Always return a 302 response.
- Host: GitHub
- URL: https://github.com/tinjaw/Always-302
- Owner: tinjaw
- License: mit
- Created: 2020-08-22T19:50:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-22T20:09:51.000Z (over 4 years ago)
- Last Synced: 2024-08-02T06:14:11.078Z (5 months ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - Always-302 - A newer alternative to 302-Instead. (Plugins / A)
README
# Always-302
Send a 302 (temporary) redirect instead of 301 (permanent) for sites where shortlinks may change.
Require [YOURLS](https://yourls.org) `1.7.x` and above.
## Usage
Enable the plugin and all responses will use status code 302.
## Installation
1. In `/user/plugins`, create a new folder named `always-302`.
2. Drop these files in that directory.
3. Go to the Plugins administration page (eg. `http://sho.rt/admin/plugins.php`) and activate the plugin.
4. Have fun!## License
This package is licensed under the [MIT License](LICENSE).