YOURLS Redirect — A directory listing with a README under it.
Name Last modified Size Description
api/ 2003-11-02 16:48 - for scripts
images/ 2004-01-19 09:33 - logos, banners
old/ 1999-08-02 17:20 -
faq.html 2004-02-27 14:05 3.1K frequently asked
favicon.ico 2002-09-30 08:44 1.1K
README 2004-03-14 11:02 2.4K
robots.txt 2003-05-11 10:12 68
submit.cgi 2004-03-08 22:51 4.6K form handler
YOURLS Redirect: a free URL shortener. No sign-up and no API token.
Make a link. The answer is the short link on one line:
https://www.yourlsredirect.com/create.php?url=https://example.com/a/long/address
From a shell:
curl -G https://www.yourlsredirect.com/create.php --data-urlencode 'url=https://example.com/page?a=1&b=2'
curl https://www.yourlsredirect.com/create.php -d 'url=https://example.com/a/long/address'
Pick the short name yourself, 1 to 64 letters, digits, - or _:
https://www.yourlsredirect.com/create.php?alias=my-name&url=https://example.com/a/long/address
As JSON:
https://www.yourlsredirect.com/create.php?format=json&url=https://example.com/a/long/address
curl https://www.yourlsredirect.com/create.php -H 'Accept: application/json' -d 'url=https://example.com/page'
Follow a link, or see where it leads without going there:
https://www.yourlsredirect.com/<code> redirects
https://www.yourlsredirect.com/<code>+ the address as text
https://www.yourlsredirect.com/<code>.json the address and when the link was made
Put url last, or percent-encode it: an address written out as it is
runs to the end of the line, with its own ? and & in it.
The same address gives the same short link every time, unless you name
it yourself. A name that is taken answers 409. Links do not expire.
Apache/1.3.27 Server at yourlsredirect.com Port 80