Git.io is a URL shortening service that will redirect to your Github projects. If you try to redirect to other domain out of Github.com
(like your website) you won't be able to do it.
So this project will help you redirect to any website using git.io super easy!
- Check if git.io/YOUR-BEAUTIFUL-LINK is avilable.
-
Go to _redirects.
-
Create an .html file with the name of the link you want to make.
-
Inside the file you need to copy the code below and paste it on you file, change it with you content.
---
permalink: /your-beautiful-link <!-- The link where you want to redirect -->
destination: http://your-beautiful-site.com
---
No!
Now you can go to Git.io and copy gitdotio.github.io/your-beautiful-link
and paste your link there and when you are done, you will have a git.io/random-name
that will be redirected to your-beautiful-site.com
.
Cons:
The Git.io website will only offer random short URLs.
Well to have your custom vanity URL with git.io you will need to use your command line.
$ curl -i https://git.io -F "url=https://gitdotio.github.io/your-beautiful-link" -F "code=mycool-name"
where you will need to set the url=
parameter with the link created by gitdotio.github.io and code=
with the value you'd like to set.
At this point when you type git.io/mycool-name
that will be redirected to your-beautiful-site.com
Websites won't be checked, but keep in mind to don't redirect to any abusive, racist or sexist website.
To use this service since it's owned by Github, Inc you will need to agree with the following:
- Github's Term and conditions
- Github's Privacy
- Github's Security Terms
Carlos Abraham |
Name | Github | |
---|---|---|
1 | Carlos Abraham | @abranhe |
2 | Jobayer Ahmed Mickey | @mickeyvai |
3 | Kevin Adam | @vnxx |
4 | Carlos | @carlittoo7 |
5 | Denis Oliveira | @denisolvr |
6 | Andrea Sonny | @andreasonny83 |
7 | Lalit Kushwah | @lalitkushwah |
8 | Eric Mshen | @ericmshen |
9 | Hassangamal | @hassangamal |
10 | Sean Kim | @sungk44 |
11 | Jyotsna Gupta | @jyotsna17gupta |
12 | MysticSeagull | @justinborzi |
13 | Mary Chew | @marychew97 |
14 | Wendy Segura | @wendysegura |
15 | Rameez Ahmad | @psycho-valker |
15 | Amiya | @amiya-1998 |
16 | Jefferson Neves | @jeffersonrpn |
17 | Jefferson Neves | @jeffersonrpn |
18 | Stephanie Velazquez | @svelazquez |
19 | Sooryanarayanan B | @mesooryanarayananb |
20 | Phenonamal | @phenonamal |
21 | Samuel Requena | @svelazquez |
22 | Ozlop | @ozlop |
23 | Gasta | @gcoria |
24 | Anantha Vijay | @ananthavijay |
25 | Ravi Gupta | @guptaravi540 |
26 | Jacob Proffer | @jacobproffer |
27 | Braunson | @braunson |