hpr2904 :: DIY URL shortening
Quick tip on how to shorten an URL without a silly SaaS
Hosted by Klaatu on Thursday, 2019-09-19 is flagged as Clean and is released under a CC-BY-SA license.
html, url shortner.
1.
The show is available on the Internet Archive at: https://archive.org/details/hpr2904
Listen in ogg,
spx,
or mp3 format. Play now:
Duration: 00:12:18
general.
Make a directory to house your shortened URLs.
$ ssh example.com mkdir public_html/u
On demand, create a subdirectory for the shortened URL you want to create.
$ ssh example.com mkdir public_html/u/hpr
Create an HTTP redirect in an index.html file.
$ ssh example.com echo ""<html><title>Shortened URL</title><head><meta http-equiv='refresh' content='0; URL=http://hackerpublicradio.org/correspondents/0078.html' /></head></html>"" > www/u/hpr/index.html
Your shortened URL is example.com/u/hpr