To change admin password, use the Web terminal and edit
/app/data/user/config.php and set a new plain text password. YOURLS will automatically
encrypt this field if you refresh your browser as explained here.
$yourls_user_passwords = array( 'admin' => 'supersecret123' /* Password encrypted by YOURLS */ );
Custom index page
You can edit
/app/data/index.html to your liking to customize the home page. You can also add a
place a PHP script.
You can make the URL shortner available to all users. Be aware that a public interface will attract spammers. YOURLS project comes with a public page that be used for this purpose.
Use the Web terminal and set the sample public page as the default page:
cp /app/code/sample-public-front-page.txt /app/data/index.php # now fix the require_once path in /app/data/index.php from dirname(__FILE__).'/includes/load-yourls.php' to '/app/code/includes/load-yourls.php'
# cd /app/data/user/plugins # git clone https://github.com/apelly/YourlsBlacklistDomains.git
Then, activate the plugin using the
Manage Plugins link in the admin dashboard.