Adding YOURLs- a URL Shortener to Your Domain
Difficulty: 2 (rated by author; 1=easy <--> 5=difficult)
Views: 35695
Module: Domain Camp
Category: Domain Camp Week 4
There are plenty of free services for creating short URLs for content you create. They are handy for sharing long links (like the ones google apps create) and even making them more human readable.
As an owner of a domain, you don’t need to go somewhere else where your links may one day vanish, or be co-opted. You have the power to create short links that use your very domain, not someone else’s, and even collect stats on their use.
This is exactly what the Mad Scientists at Extend Labs have done, they have an install of Yourls running on extendlabs.ca
. Theirs is set up so only they can add domain short URLs, such as:
Like we have seen in installing WordPress, our first choice is the where tp put this- in a folder/directory or their domain, or into a subdomain. They opted to create a subdomain for this application at https://jump.extendlabs.ca
and also issuing an SSL certificate for it.
In their Reclaim Hosting cpanel, under Applications the Mad Scientists clicked “All Applications”

and looked among the many ones listed under Apps for Miscellaneous where they found the one for Yourls

A few things that are different in the install settings for this application:

You should save a copy of the admin username and password for your site; the Installatron is not able to log you directly into your site like WordPress. You ought to choose an interesting name for it too, while here. And lastly, go with the recommendation to not allow public access to the site (this means that only you can shorten URLs here).
Once it’s installed, go to the link where it is installed, and log into your site. Create your first shortened link.

You can add long URLs and choose a shorter name for it directly from this interface. The Mad Scientists love this Celestial Sky Observer at http://ofrohn.github.io/celestial-demo/location.html
but now anyone can get there quicker, via Extend labs, as https://jump.extendlabs.ca/sky
This is a bit tedious to add; and Yourls offer some nifty addons to make this process quicker. In your Yours Interface, look for the link to Tools. It’s very handy to have a browser bookmarklet tool so you can create the short links while visiting the target page.

The Custom Keyword one allows you to create the part of the short URL that comes after your domain, all without leaving the animated GIF that was turned into the short link https://jump.extendlabs.ca/dance
You will also find browser tools that let you quickly share the shortened links in social media.
Hopefully you can brainstorm ways that having short URLs with names you pick work better from your domain than some third party service (perhaps those times when someone else has chosen the short cut you want?). You will notice too, that you get some stats too in the usage of your shortened URLs
Example for "Adding YOURLs- a URL Shortener to Your Domain":
https://jump.extendlabs.ca/sky