Skip to content

EpicPilgrim/302-instead

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages