Home Plugins custom link shortener
Custom Link Shortener logo

Custom Link Shortener

by Victor Lukasso on WordPress.org

Advanced URL shortener for WordPress with analytics, link rotation, location tracking, random redirects, and password protection.

(0)
Create Short Link
!(screenshot-creation.png)

Create Short Link
!(screenshot-creation.png)

Advanced URL shortener for WordPress with analytics, link rotation, location tracking, random redirects, and password protection.

Features

  • 🚀 Create custom short URLs (e.g., yoursite.com/go/product)
  • 📊 Detailed click analytics with:
    • Visitor IP addresses
    • Location data (country/city)
    • User agents
    • Timestamps
  • 🔄 URL rotation (randomize destinations)
  • 🔒 Password protection for private links
  • 📁 CSV export for all analytics data
  • ✏️ Edit existing short URLs
  • 🗑️ Delete short URLs with confirmation
  • 🎨 Clean WordPress admin interface
  • 🔄Create One Url that redirects to multiple posts on your website.

Usage

Creating Short Links

  1. Go to Custom Link Shortener in your admin menu
  2. Enter:
    • Your preferred alias (e.g., “product”)
    • Destination URL(s) (one per line for rotation)
  3. Optional: Enable rotation or set a password
  4. Enable random post redirects
  5. Click “Create Short Link”

Viewing Analytics

  1. Go to Custom Link Shortener Analytics
  2. View all links with click counts
  3. Click “View” on any link to see detailed stats
  4. Export data as CSV when needed

Managing Links

  • Edit: Change destinations, rotation, or password
  • Delete: Remove short links (with confirmation)
  • Test: Verify your links work before sharing

Advanced Features

URL Rotation

When enabled with multiple destinations:
– Visitors get randomly redirected to one of the URLs
– All clicks are still tracked accurately

Password Protection

  • Set a password when creating/editing links
  • Visitors must enter password before redirect
  • Works with both GET and POST requests

Random blog article in one short link

  • Query your WordPress database for all published posts
  • Randomly select one post from the available options
  • Redirect the visitor to that post’s permalink
  • Track the redirect for analytics purposes

Use Cases

  • Content Discovery: Help visitors explore your older or less-visited content
  • Newsletter Links: Add a “Random Article” link to your email newsletters
  • Social Media: Share surprise content links on social platforms
  • Website Navigation: Include a “Surprise Me” button in your site navigation
  • Content Marketing: Create engaging campaigns around random content discovery

External Services

This plugin uses ipapi.co to determine visitor location information for analytics.

What data is sent:
– Visitor’s IP address (only when a link is clicked)
– No personal data is sent

When data is sent:
– Only when a short link is clicked by a visitor

Service information:
– Terms: https://ipapi.co/terms/
– Privacy: https://ipapi.co/privacy/

Support

For support, please email support@lukastechs.com.

Pro Tip: For maximum compatibility, always test new short links before sharing them widely!

Active installations0+
Weekly downloads
11-80.36%
Version1.4.3
Last updated6/7/2025
WordPress version5.0
Tested up to6.8.1
PHP version7.4
Tags
click trackingcustom linkslinkslinks-shortenerurl shortener