

- #Yourls url shortner and social media meta install#
- #Yourls url shortner and social media meta password#
Generate or get existing short URLs, with sequential or custom keyword.There are numerous tips and guides on the Documentation, be sure to read them.Add them to your own config.php if you know what you're doing. File includes/Config/Config.php contains a few more undocumented but self explanatory and commented settings.
#Yourls url shortner and social media meta install#
You can install YOURLS behind a firewall or a proxy: see Proxy Support.If YOURLS_NOSTATS is set to true, redirects won't be logged and there will be not stats available. To do so, define with: define('YOURLS_PRIVATE_API', false) If YOURLS_PRIVATE is set to true, you can still make your API public. To do so, define with: define('YOURLS_PRIVATE_INFOS', false)

If YOURLS_PRIVATE is set to true, you can still make stat pages public. Define here negative, unwanted or potentially misleading keywords Example: 'porn', 'faggot', 'sex', 'nigger', 'fuck', 'cunt', 'dick' See FAQ for more explanationsĪ list of reserved keywords that won't be used as short URLs. Passwords can either be in plain text, or encrypted: see for more information. Hint: generate a unique one at Example: define( 'YOURLS_COOKIEKEY', ) Ī list of username(s) and password(s) allowed to access the site if private You don't have to remember it, make it long and complicated. 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 ) Ī random secret hash used to encrypt cookies. Example: define( 'YOURLS_PRIVATE', true ) Īllow multiple short URLs for a same long URL Private means the admin area will be protected with login/pass as defined below. 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', '' ) Your (hopefully short) domain URL, no trailing slash, lowercase. The name prefix for all the tables YOURLS will need Example: define( 'YOURLS_DB_PREFIX', 'yourls_' ) The database host Example: define( 'YOURLS_DB_HOST', 'localhost' ) The database name Example: define( 'YOURLS_DB_NAME', 'yourls' )
#Yourls url shortner and social media meta password#
Your MySQL password Example: define( 'YOURLS_DB_PASS', 'MySeCreTPaSsW0rd' ) Your MySQL username Example: define( 'YOURLS_DB_USER', 'joe' ) ➤ Configuration (in user/config.php) ➤ MySQL settings
