Skip to content

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

Notifications You must be signed in to change notification settings

EpicPilgrim/302-instead

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

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