Skip to content
Switch branches/tags
This branch is 17 commits ahead, 8 commits behind YOURLS/plugin-sample:master.

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Redirect Index

Plugin for YOURLS <1.4> and newer.


This plugin allows you to redirect the user to another site if they go to the base directory of your YOURLS installation. Ordinarily, most web servers just display a directory listing or a simple error page, but this allows you to redirect your users to a more friendly page. The URL of the site you want to redirect to can be set up in the YOURLS admin panel.


  1. Download the plugin from the releases page.
  2. Drop the downloaded folder into the /user/plugins directory of your YOURLS installation and make sure to rename it to redirect-index.
  3. Move the index.php folder out of that directory and into your YOURLS base directory.
  4. Go to the Plugins administration page ( eg http://sho.rt/admin/plugins.php ) and activate the plugin.
  5. Set up the URL from the settings page ( eg http://sho.rt/admin/plugins.php?page=redirindex ) and have fun!


Redirect Index simply uses whatever language YOURLS uses, as described here.

If you want to translate Redirect Index into your own language, this blog post from YOURLS describes how to do it. You can find the latest .pot file in the translations folder of the plugin directory. Please follow the contributing guidelines below to add your translation to Redirect Index.


If you have any issues with the way Redirect Index works, you want to suggest a feature or you believe you have found a bug, please submit an issue using GitHub's issue system. However, please remember that the developers work on this project in their spare time.

If you'd like to contribute some code to Redirect Index, please open an issue first to discuss whether your patch will be accepted. If it has been agreed that your patch will be accepted, please fork the repository and submit a pull request when ready.


Just like YOURLS, Redirect Index is licensed under the MIT license. Basically, you can do whatever you want with it. As this plugin works behind the scenes, you don't even really have to give attribution. There is no guarantee that this software will work.

You can find the full license in the root directory of Redirect Index, under


This plugin allows you to redirect the user to another site if they go to the base directory of your YOURLS installation.







No packages published