How to set expiry time to shortened URLs

2.3k Views Asked by At

I searched the web, which told me that the shortened URLs we get from different URL shortener websites are valid forever. But I want to make such a shortened URL with the help of those sites, which will be expired after some specific time, say 80 hours.

Can someone please suggest how to achieve this?

Thanks in Advance.

2

There are 2 best solutions below

1
user1982848 On

Please check this. It will be having expiry time. Once URL is expired, it will redirect to configured URL http://once.ly/index.html

1
Dimas D. On

As I far as I know there is a service called pqn.PW that does something similar. The only difference is the time period. Your link can last 1 hour, 1 day, 1 month or 1 year.