DEV Community

Cover image for Turn your URL into Short Link using Netlify Redirects
Fajar Siddiq for Euphorya

Posted on • Edited on

13 10

Turn your URL into Short Link using Netlify Redirects

I don't like those short links URL, why?
Bitly, Tinycc, Cutly URL Shortner

Because i want to have my own domain name with it.
You should buy a short domain name or 2 words domain name.
Mine is fajarsiddiq.com and so i start using netlify redirects.
Is very useful, i use this to share like a short links with my domain.
I use this to put on my youtube description links of my playlist videos.
So to learn how to make this, you follow this simple steps below.

✅1. Create a plain text file on your github
✅2. Create the syntax "/coffee" "https://buymeacoffee.com/fajarsiddiq"
✅3. Deploy on netlify, done!
👉 For reference, read this doc for full guideline:
https://docs.netlify.com/routing/redirects/#syntax-for-the-redirects-file
👉 Share this Redirects Tutorial Video:
https://fajarsiddiq.com/redirects
👉Why i don't use short link websites
https://twitter.com/fajarsiddiqFS/status/1222455656822652928

Image of Wix Studio

2025: Your year to build apps that sell

Dive into hands-on resources and actionable strategies designed to help you build and sell apps on the Wix App Market.

Get started

Top comments (4)

Collapse
 
devanghingu profile image
Devang Hingu

docs.netlify.com/routing/redi
reference. doesn't found. please update it

Collapse
 
fajarsiddiq profile image
Fajar Siddiq

Done Changing the docs link - docs.netlify.com/routing/redirects...

Collapse
 
devanghingu profile image
Devang Hingu

thanks.

Thread Thread
 
fajarsiddiq profile image
Fajar Siddiq

You're most welcome, followed you too.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay