Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/EpicPilgrim/302-instead

yourls plugin to send a 302 (temporary) redirect instead of 301 (permanent) for sites where shortlinks may change
https://github.com/EpicPilgrim/302-instead

Last synced: 23 days ago
JSON representation

yourls plugin to send a 302 (temporary) redirect instead of 301 (permanent) for sites where shortlinks may change

Lists

README

        

302-instead
===========

yourls plugin to send a 302 (temporary) redirect instead of 301 (permanent) for sites where shortlinks may change

This plugin applies across an entire yourls installation - cannot currently be customised per-link. Note that it will only work reliably on *new* links, since old links will have already been cached in browsers due to the use of 301 headers.

Requirements

yourls 1.8.1 (although earlier versions may still work, only one minor change was made to support 1.8.1 from the same code that worked in the 1.5 branch)

Installation

Create a user/plugins/302-instead directory in yourls
Place the plugin.php file in above directory
Activate plugin in yourls