Home Plugins all in one link shortener
All In One Link Shortener logo

All In One Link Shortener

by Shitalben Parmar on WordPress.org

Create shortlinks for WordPress posts/pages using Bitly, TinyURL, Rebrandly, or native WordPress permalinks.

(2)

All In One Link Shortener allows you to easily create short links for posts, pages, or any URL on your WordPress site. It supports multiple link shortening services including Bitly, TinyURL, Rebrandly, is.gd, t.ly and cutt.ly. You can generate short links using a shortcode and quickly copy them in the admin area.

This plugin is lightweight, fully compatible with WordPress, and provides an intuitive interface in the admin dashboard.

Features

  • Automatic shortlink generation on publish/update.
  • Supports providers: Bitly, TinyURL, Rebrandly, cutt.ly, is.gd, t.ly or native WordPress permalinks.
  • Admin column with copy-to-clipboard button.
  • Regenerate shortlinks via post actions or bulk actions.
  • WP-CLI support for developers.
  • Shortcode [aiols_shortlink id="123"].
  • API token setup in plugin settings.

How to Generate API Tokens

Bitly (Generic Access Token)

  1. Sign in at Bitly.
  2. Open Settings API / Developer section.
  3. Click “Generic Access Token” Generate/Create.
  4. Re-enter password if prompted.
  5. Copy and store the token securely.
  6. Paste the token in plugin settings Save Changes.

TinyURL (API Key)

  1. Sign in at TinyURL.
  2. Open Developer / API or API Settings.
  3. Click “Create API Key” and follow prompts.
  4. Copy the generated key and store securely.
  5. Paste into plugin settings Save Changes.

Rebrandly (API Key)

  1. Sign in at Rebrandly.
  2. Open Dashboard Developer / API section.
  3. Click “Create New API Key” and follow prompts.
  4. Copy and store the key securely.
  5. Paste into plugin settings Save Changes.

Cutt.ly (API Key)

  1. Sign in at Cutt.ly.
  2. In the left sidebar, go to API API Key.
  3. Your API Key will be visible on the right side under your account information.
  4. If you don’t have one, click Generate API Key to create a new key.
  5. Copy the generated key and store it securely.
  6. Paste it into your plugin settings Save Changes.

is.gd (No API Key Required)

  1. Visit is.gd
  2. You don’t need to create an account or API key — is.gd’s shortening service is open for public use.
  3. To shorten a link using the API, simply use the following URL format: https://is.gd/create.php?format=json&url=YOUR_LONG_URL.
  4. Replace YOUR_LONG_URL with the actual link you want to shorten.
  5. You can test this directly in your browser or use it programmatically via your plugin.
  6. For full API documentation, visit is.gd API Reference.

T.LY (API Key Required)

  1. Visit T.LY and create a free account.
  2. Generate your API key from your T.LY Dashboard.
  3. To shorten a link using the API, send a POST request to https://api.t.ly/api/v1/link/shorten with your long URL and API token.
  4. The API will return a JSON response containing short_url. Use this value as the shortened link.
  5. For full API documentation, visit T.LY API Docs.

Security & Best Practices

  • Treat tokens as secrets; do not commit to public repositories.
  • Store only in plugin settings; never print in frontend HTML.
  • Limit token permissions if the provider allows.
  • Rotate (revoke/regenerate) tokens periodically or if compromised.

External Services

  1. Bitly

    • API URL: https://dev.bitly.com/api-reference/
    • Purpose: Generate short links using Bitly.
    • Data Sent: Original URL + API token.
    • Terms of Service: https://bitly.com/pages/terms-of-service
    • Privacy Policy: https://bitly.com/pages/privacy
  2. TinyURL

    • API URL: https://tinyurl.com/app/dev
    • Purpose: Generate short links using TinyURL.
    • Data Sent: Original URL + API key.
    • Terms of Service: https://tinyurl.com/app/terms
    • Privacy Policy: https://tinyurl.com/app/privacy-policy
  3. Rebrandly

    • API URL: https://developers.rebrandly.com/reference/createlink
    • Purpose: Generate short links using Rebrandly.
    • Data Sent: Original URL + API key.
    • Documentation: https://developers.rebrandly.com/docs/get-started
    • Terms of Service: https://www.rebrandly.com/terms
    • Privacy Policy: https://cutt.ly/privacy
  4. cutt.ly

    • API URL: https://cutt.ly/api-documentation/regular-api
    • Purpose: Generate short links using cutt.ly.
    • Data Sent: Original URL + API key.
    • Documentation: https://cutt.ly/api-documentation/regular-api
    • Terms of Service: https://cutt.ly/terms
    • Privacy Policy: https://cutt.ly/privacy
    • Contact us : https://cutt.ly/contact
  5. is.gd API Information (No API Key Required)

  6. T.LY API Information (API Key Required)

Open Source

  • GitHub repository: https://github.com/shitalparmar443/all-in-one-link-shortener
  • Contributions via pull requests are welcome.
Active installations0+
Weekly downloads
112
Version1.0.3
Last updated10/6/2025
WordPress version6.1
Tested up to6.8.3
PHP version7.4
Tags
linkspermalinkseoshortlinkurl shortener