BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Bitly URL Shortener icon
Actively maintained Tested with WP 7.1 #2 in bitly

Bitly URL Shortener

Bitly URL Shortener uses the functionality of Bitly API to generate Bitly short link without leaving your WordPress site.

Active installs500+100+ tier
Downloads · 30d671▼ -2.3% vs prev. 30d
Rating5/55 reviews
Health score82/100Excellent
All-time downloads16.9KSince May 2020
Support resolved—No recent threads
RequiresWP 5.6PHP 7.4+
Downloads · 7d427▲ 6.2× week over week
Our verdict

Safe pick

Yes — Bitly URL Shortener is a safe, well-maintained plugin to use in 2026. It runs on 500+ sites, is rated 5/5 and was last updated 2 days ago, and scores 82/100 on our health check.

  • Actively developed — last update 2 days ago
  • Tested with the latest WordPress (7.1)
  • Small user base (500+ active installs)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

60121181Jul 1Aug 14Sep 28
Yesterday37
Daily average (1y)10
Peak day283Jan 29, 2026
Last 12 months3.7K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Bitly URL Shortener stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
bitly #1 69 Best bitly plugins →
connector #91 1,529 Best connector plugins →
post >100 10,000 Best post plugins →
short url #4 3,992 Best short url plugins →
url shortener #3 206 Best url shortener plugins →

Version adoption

Share of active sites per release.

  • 1.576.5%
  • 1.314.3%
  • 1.46.7%
  • 1.22.6%

Rating breakdown

★★★★★★★★★★ 5 from 5 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Bitly URL Shortener

From the official readme · v1.5.4

Description

Bitly URL Shortener (Previously Codehaveli Bitly URL Shortener) uses the functionality of Bitly API to generate bitly short link automatically from your WordPress dashboard when you publish new post.

Bitly URL Shortener allows you to connect your WordPress Website to the Bitly API via access token and Group GUID.

Features

  • Generate Bitly link automatically when publishing posts without leaving your site.
  • Share Bitly link from your Post List and Post Edit page with social share buttons.
  • Gutenberg block for displaying social share icons (Facebook, LinkedIn, X/Twitter, Telegram, WhatsApp).
  • Support for Custom Post Types with option to choose from your list of post types.
  • Support for Custom Bitly Domain (for paid Bitly plans).
  • Generate Bitly link of your old posts with just one click from post list.
  • WP-CLI support for bulk generating short links via command line.
  • REST API endpoints for programmatic access to short URL generation.
  • Post column in admin showing generated short URLs.
  • Metabox in post edit page for quick access to short URL and share options.
  • Optimized code with modern PHP 7.4+ features and proper error handling.

Terms of Use

This is not an official plugin of https://bitly.com

This plugin only connects your https://bitly.com account to your WordPress site.

Please read privacy and terms of service of Bitly before using this plugin.

Bug reports

Bug reports for Bitly URL Shortener are welcomed in our Bitly URL Shortener repository on GitHub. Please note that GitHub is not a support forum, and that issues that are not properly qualified as bugs will be closed.

Further Reading

For more info on Bitly and Codehaveli, check out the following:

Installation

  1. Visit the plugins page within your dashboard and select Add New
  2. Search for Bitly URL Shortener
  3. Activate Bitly URL Shortener from your Plugins page
  4. Go to Tools > Codehaveli Bitly from your WordPress admin menu
  5. Get your access token from https://bitly.com and save it in the access token field
  6. Click on Get GUID button if you don’t have the Group GUID (the plugin will retrieve it from your Bitly account via API call)
  7. (Optional) Enter your custom Bitly domain if you’re on a paid plan
  8. (Optional) Select which post types should automatically generate Bitly links
  9. (Optional) Enable social share buttons if you want to display share options
  10. You’re ready to go! From now on, whenever you publish a post, your Bitly link will be generated automatically

Frequently asked questions

How to get the short link of a post?

Use the get_wbitly_short_url() function in your theme or plugin: $link = get_wbitly_short_url($post_id); // Returns short URL or false If no post ID is provided, it will use the current post in the loop: $link = get_wbitly_short_url(); // Uses current post

How to use the Gutenberg block?

In the block editor, search for “Bitly Share Icons” block Add the block to your post or page Customize which social icons to display (Facebook, LinkedIn, X/Twitter, Telegram, WhatsApp) Adjust icon size and styling as needed

How to generate short links via WP-CLI?

The plugin includes WP-CLI support. Use the following commands: wp wbitly generate --all - Generate shortlinks for all published posts wp wbitly generate --ids=1,2,3 - Generate for specific post IDs wp wbitly generate --first=10 - Generate for first 10 posts wp wbitly generate --all --post_type=page - Generate for all pages

How to use the REST API?

The plugin provides REST API endpoints: POST /wp-json/wbitly/v1/generate/{post_id} – Generate short URL for a post GET /wp-json/wbitly/v1/meta/{post_id} – Get existing short URL for a post Both endpoints require authentication and appropriate permissions. You need to: * Be logged in as a user with edit_posts capability * Include a valid WordPress nonce in the request header (X-WP-Nonce)

Changelog

1.5.4

  • WordPress Up To version

1.5.3

  • WordPress Upto version updated and small fix

1.5.2

  • WordPress Upto version updated

1.5.1

  • MetaBox issue fixed

1.5.0

  • Added Gutenberg block for social share icons
  • Added WP-CLI support for bulk generating short links
  • Added REST API endpoints for programmatic access
  • Improved code structure with modern PHP 7.4+ features
  • Enhanced error handling and logging
  • Updated minimum requirements: PHP 7.4, WordPress 5.6
  • Improved security with better input validation
  • Code refactoring and optimization

1.4.1

  • Updated: tested up to value
  • Security Fix
  • Updated Twitter logo to X
  • Refactor ajax code

Full changelog on WordPress.org →

Screenshots

Settings Panel - Configure your Bitly API credentials and options
Settings Panel - Configure your Bitly API credentials and options
Settings access from Tools menu or plugin list
Settings access from Tools menu or plugin list
Generated URL column in post list showing short links
Generated URL column in post list showing short links
Custom Post type selection checkboxes
Custom Post type selection checkboxes
Social share icons block in Gutenberg editor
Social share icons block in Gutenberg editor

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Bitly URL Shortener alternatives

All bitly plugins →

FAQ

Bitly URL Shortener: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Sep 29, 2026

Is Bitly URL Shortener free?

Yes. Bitly URL Shortener is free to download and use from the official WordPress.org plugin directory.

Is Bitly URL Shortener safe to use in 2026?

Yes — Bitly URL Shortener is a safe, well-maintained plugin to use in 2026. It runs on 500+ sites, is rated 5/5 and was last updated 2 days ago, and scores 82/100 on our health check.

How many websites use Bitly URL Shortener?

Bitly URL Shortener is active on 500+ WordPress websites and has been downloaded 16,922 times since it launched in May 2020. It was downloaded 671 times in the last 30 days.

Does Bitly URL Shortener work with WordPress 7.1?

Yes. The developer has tested Bitly URL Shortener up to WordPress 7.1.2, the latest release. It requires WordPress 5.6 or newer.

What PHP version does Bitly URL Shortener need?

Bitly URL Shortener requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Bitly URL Shortener last updated?

The latest version, 1.5.4, was released on September 26, 2026 (2 days ago).

Who makes Bitly URL Shortener?

Bitly URL Shortener is developed and maintained by Codehaveli.

What are the best alternatives to Bitly URL Shortener?

The most popular alternatives to Bitly URL Shortener are Bitly's WordPress Plugin (2K+ installs), Get Shortlinks (90+ installs) and Twitter Hashtag Blaster (10+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.