Coder Social home page Coder Social logo

prplwtf / redirect Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 1.0 101 KB

Redirect generator for Blueprint.

Home Page: https://sourcexchange.net/products/redirect

License: The Unlicense

PHP 52.63% Blade 37.70% HTML 2.45% Shell 7.22%
blueprint pterodactyl pterodactyl-addon pterodactyl-admin pterodactyl-blueprint pterodactyl-panel

redirect's Introduction

Redirect

blueprint · pterodactyl

Create URL redirects within seconds, right within your admin panel.


Important

This tool may not be maintained and might break with new releases of both Pterodactyl and Blueprint. Please use at your own risk, little to no support is provided with this extension.



Installation

To install this extension, download the latest release of Redirect and drag the redirect.blueprint file over to your Pterodactyl installation folder. Then, run blueprint -install redirect to finish the installation process.

If you're using NGINX as your webserver, assuming you followed the Pterodactyl installation instructions, you will also need to modify your config file. Apache and Caddy should work without additional configuration.

NGINX Configuration

  • Open your NGINX server config file, typically located in /etc/nginx/sites-available/
  • Within your server block that contains the index line (the second server block, if you followed the Pterodactyl guide), change index index.php to index index.php index.html
  • Save the file, then test your config with nginx -t
  • If the test completes without issue, restart NGINX with sudo systemctl restart nginx

Usage

Within the extension's page, acessible via the puzzle piece on the admin page, you will see a few different panels:

  • Redirects: A list of all of your active redirects
  • Add Redirect: Used to add a new redirect
    • Name: The link extension that you would like to use as your redirect. E.g. test as the name would create a redirect on the URL yourserver.com/test
    • Destination: The URL you would like the link to redirect to
  • Remove Redirect: used to remove a redirect
    • Name: The name must match EXACTLY that of the link you'd like to remove.

After adding a redirect, you can visit <your website URL>/<redirect name> to be redirected.

For example, with the website serverhost.net and a redirect named myvideo, you would visit serverhost.net/myvideo


Removal

To remove Redirect from your Pterodactyl panel, run blueprint -remove redirect. This might not remove all of your redirects, so remove them before removing Redirect.


Screenshots

image

redirect's People

Contributors

funkfrog avatar prplwtf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

funkfrog

redirect's Issues

Usage/wiki

Feature Request

I'm having trouble figuring out how to use this extension. I have no clue where to start either.
Could you please update the readme or let me know how to operate the extension? I can submit the pr as well myself to update the readme.

Thank you

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.