Skip to content

birdslikewires/yourls-fallback-redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

yourls-fallback-redirect

Simple redirector if no short link exists.

The requested URI is preserved and passed to the redirect domain.

Performed as a temporary redirect (302) in case a short link is added in the future.

Installation

  • Create a new directory in user/plugins named fallback-redirect.
  • Drop the plugin.php file into that directory.
  • Put following in your users/config.php file:
define('FALLBACK_REDIRECT_URL', 'https://example.com');
  • Don't forget to configure the domain!

About

Simple redirector if no short link exists.

Resources

License

Stars

Watchers

Forks

Contributors

Languages