Giter Site home page Giter Site logo

drorsnir / yourls-redirect-index Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tomslominski/yourls-redirect-index

0.0 1.0 0.0 15 KB

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

License: Other

PHP 100.00%

yourls-redirect-index's Introduction

Redirect Index

Plugin for YOURLS <1.4> and newer.

Description

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.

Installation

  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!

Translating

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.

Contributing

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.

Licensing

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 LICENSE.md.

yourls-redirect-index's People

Contributors

leocolomb avatar ozh avatar tomslominski avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.