Updated with Bitly’s new DNS A records
Since last couple of days I have been thinking of having URL Shortener Service for Crunchify.com. A custom short domain is a great way to brand your content across the web! Finally I’ve created
crunchify.me for the same.
Perform below steps to setup URL Shortener server correctly for your WordPress blog
Get your short domain. I got my new Domain
Google Domains Service.
Scroll down little bit on the same page and look for
Custom resource records option.
Update your DNS A Records to point to
- Login to
- Click on
Settingstab – click on
right-top cornerhamburger menu icon.
- Click on
Add your short domainand click Add. Provide
Validate button to verify your short domain is pointed to correct
DNS A records.
At this point you are all done setting up Domains and Bitly options. Now let’s perform next task at WordPress admin panel side.
- Install Plugin WP Bitly. Reason why I use WP Bitly WordPress Plugin.
- After activation – go to Settings -> Writing
- Provide OAuth token and click
And you are all set. Let’s verify.
Open any post’s edit panel and click on
If you are a developer then can call
wp_get_shortlink(); anywhere and it should return Short URL.
Last but not least, post short URL’s to your social media site and rejoice.