內容簡介
All In One Link Shortener 是一款輕量級的 WordPress 外掛,讓使用者能輕鬆為文章、頁面或任何網址創建短連結。它支援多種連結縮短服務,並提供直觀的管理介面,提升網站連結的分享效率。
【主要功能】
• 自動生成短連結於發佈/更新時
• 支援多種連結縮短服務
• 管理介面中可一鍵複製短連結
• 可透過文章或批次操作重新生成短連結
• 支援 WP-CLI 供開發者使用
• 短碼 [aiols_shortlink id="123"]
外掛標籤
開發者團隊
原文外掛簡介
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)
Sign in at Bitly.
Open Settings → API / Developer section.
Click “Generic Access Token” → Generate/Create.
Re-enter password if prompted.
Copy and store the token securely.
Paste the token in plugin settings → Save Changes.
TinyURL (API Key)
Sign in at TinyURL.
Open Developer / API or API Settings.
Click “Create API Key” and follow prompts.
Copy the generated key and store securely.
Paste into plugin settings → Save Changes.
Rebrandly (API Key)
Sign in at Rebrandly.
Open Dashboard → Developer / API section.
Click “Create New API Key” and follow prompts.
Copy and store the key securely.
Paste into plugin settings → Save Changes.
Cutt.ly (API Key)
Sign in at Cutt.ly.
In the left sidebar, go to API → API Key.
Your API Key will be visible on the right side under your account information.
If you don’t have one, click Generate API Key to create a new key.
Copy the generated key and store it securely.
Paste it into your plugin settings → Save Changes.
is.gd (No API Key Required)
Visit is.gd
You don’t need to create an account or API key — is.gd’s shortening service is open for public use.
To shorten a link using the API, simply use the following URL format: https://is.gd/create.php?format=json&url=YOUR_LONG_URL.
Replace YOUR_LONG_URL with the actual link you want to shorten.
You can test this directly in your browser or use it programmatically via your plugin.
For full API documentation, visit is.gd API Reference.
T.LY (API Key Required)
Visit T.LY and create a free account.
Generate your API key from your T.LY Dashboard.
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.
The API will return a JSON response containing short_url. Use this value as the shortened link.
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
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
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
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
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
is.gd API Information (No API Key Required)
API URL: https://is.gd/create.php?format=json&url=YOUR_LONG_URL
Purpose: Generate short links without requiring an API key.
Data Sent: Original long URL (no authentication required).
Documentation: https://is.gd/developers.php
Terms of Service: https://is.gd/terms.php
Privacy Policy: https://is.gd/privacy.php
Contact Us: https://is.gd/contact.php
T.LY API Information (API Key Required)
API URL: https://t.ly/docs
Purpose: Generate short links without requiring an API key.
Data Sent: Original long URL (no authentication required).
Documentation: https://t.ly/docs
Terms of Service: https://t.ly/terms
Privacy Policy: https://t.ly/privacy
Contact Us: https://t.ly/contact
Open Source
GitHub repository: https://github.com/shitalparmar443/all-in-one-link-shortener
Contributions via pull requests are welcome.
