
WP Bit.ly uses the Bit.ly API to generate short links for all of your posts and pages. Statistics are displayed for each link from the dashboard.
Love WordPress? Love Bitly? After installing this plugin, you’ll be able to shorten a link and view clicks right from WordPress. Your new links will be saved to Bitly for reference and deeper analysis.
To do that, you must have a Bitly account to use the plugin. Your account is where you store, edit, and view metrics for your links. Register at bitly.com.
No matter the type of site you own (from a personal blog to an ecommerce store and everything in between) Bitly makes it easy to create shorter links and keep an eye on your clicks. Whether you share your links on social, SMS, or email, a short link is easier to manage and remember.
Screenshots
FAQ
After installation, do I need to update all my posts for short links to be created?
No. The first time a short link is requested for a particular post, the plugin will automatically generate one.
ChangeLog
2.8.1
2.8.0
- Security Updates.
- Fixes WordPress coding standards.
2.7.4
- Fixed nonce verification on disconnected
- Enforce capability check for authorized user operations
- Escape all output to prevent XSS
2.7.3
2.7.2
- Security update.
- Various additional minor fixes.
2.7.1
- Updated to prevent short link generation when a post is viewed on the frontend, or edited (but not re-saved) on the backend.
2.7.0
- Updated to prevent short link (re)generation when bulk-editing posts.
- Added placeholder message to Bitly metabox when creating new post.
- Fixed issue where “Default Organization” field displayed incorrect value after configuration change.
- Various additional minor fixes.
2.6.0
- Completely rebuilt for use with Bitly API version 4.
2.5.2
- Fixes various php warnings produced by assuming $post
- Better response handling for wpbitly_get()
2.5.0
- Adds “Regenerate Shortlink” feature to pages and posts
- Adds chart showing previous 7 days of activity
2.4.3
- Adds debugging to authorization process
- Adds manual entry of the OAuth token in case automatic authorization fails
2.4.1
- Backwards compatible with PHP 5.2.4
- Updates styling on settings page
- Updates
wp_generate_shortlink()
- Adds debug setting back
2.4.0
- Updated for use with WordPress 4.9.2 and current Bitly Oauth
2.3.2
- Fixed a typo in
wpbitly_shortlink
2.3.0
- Trimmed excess bloat from
wp_get_shortlink()
- Tightened up error checking in
wp_generate_shortlink()
2.2.6
- Fixed bug where shortlinks were generated for any post type regardless of setting
- Added
save_post back, further testing needed
2.2.5
- Added the ability to turn debugging on or off, to aid in tracking down issues
- Updated to WordPress coding standards
- Removed
wpbitly_generate_shortlink() from save_post, as filtering pre_get_shortlink seems to be adequate
- Temporarily removed admin bar shortlink button (sorry! it’s quirky)
2.2.3
- Replaced internal use of cURL with wp_remote_get
- Fixed a bug where the OAuth token wouldn’t update
2.0
- Updated for WordPress 3.8.1
- Updated Bitly API to V3
1.0.1
- Fixed bad settings page link in plugin row meta on Manage Plugins page
1.0
- Updated for WordPress 3.5
- Removed all support for legacy backwards compatibility
- Updated Settings API implementation
- Moved settings from custom settings page to Settings -> Writing
- Enabled shortlink generation for scheduled (future) posts
- Added I18n support.
0.2.6
- Added support for automatic generation of shortlinks when posts are viewed.
0.2.5
- Added support for WordPress 3.0 shortlink API
- Added support for custom post types.
0.1.0
- Initial release of WP Bitly