URL shortening, the shortening of URLs, has become increasingly popular in recent years, largely thanks to Twitter. Due to the limitation of 140 characters per tweet, you can hardly avoid using a URL shortener. How exactly does setting up your own URL shortener work? What are the advantages and
The first URL shortener, TinyURL, saw the light of day in 2002. However, URL shortening, the shortening of (long) URLs, has only become known to the general public in recent years. Largely thanks to Twitter. Due to the limitation of 140 characters per tweet, you can hardly avoid using a URL shortener.
Although there are many providers of public URL shorteners, more and more organizations kuwait phone number list choose to set up a URL shortener themselves. Well-known examples are The New York Times (nyti.ms), FourSquare (4sq.com) and Pepsi (pep.si). But how exactly does setting up a URL shortener work? What are the advantages and what are the pitfalls?
How does a URL shortener work?
A URL shortener is essentially nothing more than a short domain name and a database. This database contains a translation table that stores a shortened version for each long URL. When a shortened URL is accessed, the URL shortener looks up the original long URL in the database and redirects the visitor, usually via a 301 redirect.