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.
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.
- Open your NGINX server config file, typically located in
/etc/nginx/sites-available/
- Within your
server
block that contains theindex
line (the second server block, if you followed the Pterodactyl guide), changeindex index.php
toindex 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
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 URLyourserver.com/test
- Destination: The URL you would like the link to redirect to
- Name: The link extension that you would like to use as your redirect. E.g.
- 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
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.