/Always-302

Always return a 302 response.

Primary LanguagePHPMIT LicenseMIT

Always-302

Send a 302 (temporary) redirect instead of 301 (permanent) for sites where shortlinks may change.

Require YOURLS 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.