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.

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
- Go to Custom Link Shortener in your admin menu
- Enter:
- Your preferred alias (e.g., “product”)
- Destination URL(s) (one per line for rotation)
- Optional: Enable rotation or set a password
- Enable random post redirects
- Click “Create Short Link”
Viewing Analytics
- Go to Custom Link Shortener Analytics
- View all links with click counts
- Click “View” on any link to see detailed stats
- 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!