Create Your Own URL Shortener to Promote Your Brand

create your own url shortener

If you aren’t using your own URL shortener, now’s the time to change that. You have probably seen publications like New York Times ( or Time ( use their own URLs to their advantage. Read this guide and create your own URL in five minutes.

Why You Should Use Your Own URL Shortener

Having your own custom short URLs is beneficial for a few reasons. Firstly, you own your own data, so you are not at the mercy of third parties. You can track the number of clicks, amount of traffic, traffic source, location, and more analytics that help your marketing strategy.

Aside from analytics, unique URL’s can help with consistent branding for yourself and your business, while also not taking up space in your Facebook and Twitter posts.

Which link is easier to share and better on the eyes?


Or this:

How to Create Your Own URL Shortener

Creating your own URL’s is free, besides of course, paying for the domain of your choice.

While you can use URL services like and TinyURL, you will need to use YOURLS (Your Own URL Shortener) if you want to set up your own links.

YOURLS is a set of PHP scripts that runs your own URL shortening service. You will need to make sure your shared or dedicated server supports at least PHP 5.2, MYSQL 4.1, with mod-rewrite enabled.

Follow These Steps to Create Your Own URL Shortener

1. Download the newest version of YOURLS and unzip the archive.

2. Copy “user/config-sample.php” to “user/config.php”.

3. Open “user/config.php” with your favorite text editor and fill in the required settings. Check out YOURLS config settings if you are having trouble.

4. Create a database with the name you’ve inserted for “YOURLS_DB_NAME” from the config settings. If you are a HostDime customer, log into your cPanel and find “MySQL Database” under the Databases section.

5. Upload all unzipped files to your domain “public_html” or “www” folder.

6. Type in your domain name in a browser, followed by “/admin/install.php”. You should see a “successfully installed” page.

Congrats, you can now login and create your first short URL! Let us know how it works for you.

Follow HostDime for News, Tutorials, Contests, and Specials

Facebook | Twitter | Google+ | YouTube | Instagram

Jared Smith is HostDimeā€™s Content Marketer. Follow him on Twitter and Google Plus.


  1. What can we do if there isn’t a good ending for our domain? HostDime is lucky because there is the .me TLD out there, but what if the site ends in something more obscure? Are there some good tricks to keep the URL shortener short but still easy-to-remember?

  2. Andrew Weisman :

    Hi, I am using
    This is also implementation of YOURLS, but little bit redesigned to responsive desing.


  3. You ought to take part in a contest for one of the most useful websites on the web. I most certainly will highly recommend this web site!

  4. It’s a shame you don’t have a donate button! I’d certainly donate to this superb blog! I guess for now i’ll settle for book-marking and adding your RSS feed to my Google account. I look forward to fresh updates and will share this website with my Facebook group. Chat soon!

  5. Oh my goodness! Awesome article dude! Thank you so much, However I am experiencing issues with your RSS. I don’t understand why I can’t join it. Is there anyone else getting identical RSS issues? Anyone that knows the answer can you kindly respond? Thanx!!

Leave a Reply