Shortened link using YOURLS random shortcuts plugin YOURLS Bookmarklets If the length is set to 5, all new links without a custom name will use a random keyword, similar to how Bitly works. Setting the length for random shortened URLs in YOURLS When you activate the plugin, you can choose a random keyword length. YOURLS now comes bundled with a Bitly-like random keyword plugin. Enter campaign variables to create UTM parameters in YOURLS shortened links Bitly-like random keyword plugin ![]() The plugin stitches campaign parameters into a UTM string compatible with most site analytics services, such as Fathom Analytics. Even though Google Analytics is in the name, GA isn’t required. Download and install Google Analytics for YOURLS to add the option to include campaign variables with shortened links. YOURLS requires a plugin to track campaigns. YOURLS plugin manager Campaign variables plugin Then go to the YOURLS admin page and click on the Manage Plugins link to activate them. After you download the plugins, upload them to /user/plugins/. ![]() To get the most out of YOURLS, you’ll want to add some useful plugins. Save the file and then navigate to /admin to complete the setup. Open config.php and add the MySQL credentials, site options, and user access details. YOURLS config file located in the user folder Open the user folder and then either rename or copy and rename the config-sample.php file to config.php. Setting up YOURLS is similar to configuring the wp-config.php file for WordPress. Then, upload YOURLS to your site folder using an FTP/SFTP app like Transmit. Setting up YOURLSĬreate a new MySQL database with your hosting provider and save the account credentials for later. I also recommend using Cloudflare to take advantage of its free SSL, DDoS protection, performance boosts, and access to smart page rules for your domain. Once you choose a domain, add it to your shared hosting account. If you can’t find a good short domain to use, consider using a subdomain from an existing domain. I use clck.io, coywolf.io, and an emoji domain ( □□.to) for my URL shorteners. If you go with Pair, use this referral code to get 20% off a new account: pairref-QQGBi69J. I’ve used them for over two decades, and they are affordable, performant, and highly reliable. I recommend using a shared hosting account with Pair. The next step is to make sure you have a hosting provider that supports PHP and MySQL. And it has the same essential features as Bitly and TinyURL. YOURLS, which stands for “Your Own URL Shortener,” is the best open-source URL shortener I’ve used. The first step to setting up a URL shortener is to download YOURLS. How to setup and host your own URL shortener Shortening an affiliate link, especially with a branded custom domain, can make the link look less suspicious.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |