Introduction

YOURLS stands for Your Own URL Shortener It is a small set of PHP scripts that will allow you to run your own URL shortening service (a la TinyURL or Bitly)

Running your own URL shortener is fun, geeky and useful: you own your data and don't depend on third-party services It's also a great way to add branding to your short URLs, instead of using the same public URL shortener everyone uses

  • Free and open-source software,
  • Private (your links only) or Public (everybody can create short links, fine for an intranet),
  • Terrific Plugin architecture and dozens of plugins to easily implement new features,
  • Handy bookmarklets to easily shorten and share links,
  • Awesome stats: historical click reports, referrers tracking, visitors geo-location, *A set of PHP scripts for creating and sharing short private and public urls through bookmarklets.

description

  • 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

YOURLS alternative Link Management Tools Software
aCart.to
6998 views
Lnnkin
104 views
Lnnkin
TagOn
106 views
TagOn
Pitchbox
106 views
Pitchbox
Bitly
106 views
Bitly
1LINK.IO
106 views
1LINK.IO
GoLinks
106 views
GoLinks
Skills and Features
Channel AttributionBrand ControlURL Shortener
Gallery/Videos/Images
Contacts
Statistics
Count Viewed: 106
Licencing: enquire
4/5