Skip to content
TrustList
YOURLS cover

About YOURLS

  • Developer API to integrate YOURLS into other applications,
  • Sample files to create your own public interface and more ! Stats for each short URL Download YOURLS from GitHub and see see the Install guide YOURLS is made by awesome people

Keep up to date: read the official YOURLS Blog

  • Unzip the YOURLS archive
  • Copy user/config-sample
  • php to user/config
  • php
  • Open user/config
  • php with a raw text editor (like Notepad) and fill in the required settings
  • Upload the unzipped files to your domain public_html or www folder
  • Create a new database (see Configuration – you can also use an existing one)
  • Point your browser to http://your-own-domain-here
  • com/admin/ The documentation on docs yourls org is full of important information Regarding installation, you'll find help for Apache and Nginx

You will also find numerous unofficial installation guides on Awesome YOURLS, a curated list of resources

  • Upload files to your server, overwriting your existing install (this won't affect user files such as config or plugins)
  • YOURLS_DB_USER your MySQL username Example: define( 'YOURLS_DB_USER', 'joe' );
  • YOURLS_DB_PASS your MySQL password Example: define( 'YOURLS_DB_PASS', 'MySeCreTPaSsW0rd' );
  • YOURLS_DB_NAME: The database name Example: define( 'YOURLS_DB_NAME', 'yourls' );
  • YOURLS_DB_HOST The database host Example: define( 'YOURLS_DB_HOST', 'localhost' );
  • YOURLS_DB_PREFIX The name prefix for all the tables YOURLS will need Example: define( 'YOURLS_DB_PREFIX', 'yourls_' );
  • YOURLS_SITE Your (hopefully short) domain URL, no trailing slash, lowercase
  • If you pick the non-www version of your domain, don't use the www version in your browser (and vice-versa) Example: define( 'YOURLS_SITE', 'https://your-own-domain-here
  • com' );
  • YOURLS_PRIVATE Private means the admin area will be protected with login/pass as defined below
  • See Private or Public for more
  • Example: define( 'YOURLS_PRIVATE', true );
  • YOURLS_UNIQUE_URLS Allow multiple short URLs for a same long URL Set to true to allow only one pair of shortURL/longURL (default YOURLS behavior), or to false to allow creation of multiple short URLs pointing to the same long URL (as bit
  • ly does) Example: define( 'YOURLS_UNIQUE_URLS', true );
  • yourls_user_passwords A list of username(s) and password(s) allowed to access the site if private Passwords can either be in plain text, or encrypted: see https://yourls
  • org/userpassword for more information
  • Example: 'joe' => 'mypassword'
  • YOURLS_URL_CONVERT URL shortening method: base 36 or 62
  • See FAQ for more explanations
  • yourls_reserved_URL A list of reserved keywords that won't be used as short URLs
  • Define here negative, unwanted or potentially misleading keywords Example: 'porn', 'faggot', 'sex', 'nigger', 'fuck', 'cunt', 'dick'
  • YOURLS_PRIVATE_INFOS If YOURLS_PRIVATE is set to true, you can still make stat pages public
  • To do so, define with: define('YOURLS_PRIVATE_INFOS', false);
  • YOURLS_PRIVATE_API If YOURLS_PRIVATE is set to true, you can still make your API public
  • To do so, define with: define('YOURLS_PRIVATE_API', false);
  • YOURLS_NOSTATS If YOURLS_NOSTATS is set to true, redirects won't be logged and there will be not stats available

Categories & features

Request a demo or quote from YOURLS

Protected by reCAPTCHA — Google Privacy Policy and Terms apply.

By sending, you agree we may share your request and contact details with the provider once you confirm your email.

Reviews

Write the first review of YOURLS

Used it? Your experience helps other buyers decide.

Write a review

Questions & answers

No questions yet. Be the first to ask about YOURLS.

YOURLS alternatives

Similar listings buyers compare against this one.