Skip to content

SBCV-apegram/308-instead

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

308-instead

yourls plugin to send a 308 (permanent) redirect instead of 301 (permanent) so the HTTP method of the original request is preserved

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/308-instead directory in yourls
Place the plugin.php file in above directory
Activate plugin in yourls

About

yourls plugin to send a 308 (permanent) redirect instead of 301 (permanent) so the HTTP method is preserved

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 100.0%