WP PowerSuite
150+ modules in one suite — toggle only what you need. Zero runtime cost for features you leave off.
See Plans
On This Page
v 1.0.0
Last updated: 16/03/2026

URL Shortener

Short URLs on your site with click stats, optional expiry, and passwords—no external service.

Overview

Link Shortener lets you create short URLs on your own site. Add a link with a custom slug (e.g. /go/product) that redirects to a long URL. Track clicks. Manage all links from a dedicated admin page under WP PowerSuite. No external service required. Links use your domain. Supports 301/302 redirects. Optional click tracking. Custom slug or auto-generated short codes.

Who is this for?
Site owners who want branded short links (yourdomain.com/go/xyz) for marketing, social media, or internal use, without relying on bit.ly or similar services.

Features

Create Short Links
Add a destination URL and a custom slug. The short URL is yourdomain.com/ [prefix]/[slug]. Default prefix: "go".
Redirect Types
301 (permanent) or 302 (temporary). Choose per link.
Click Tracking
Optional. Count how many times each link is clicked. View stats in admin.
Link Management
List, edit, delete links. Search and filter. Export if supported.
Custom Slug
Use your own slug (e.g. "product", "sale") or auto-generate short codes.

How It Works

1
Enable the Module
Go to WP PowerSuite, find "Link Shortener," and click the Enable button.
2
Add a Link
Go to WP PowerSuite → Link Shortener. Click "Add New." Enter destination URL and slug. Choose redirect type. Save.
3
Use the Short URL
Share yourdomain.com/go/your-slug. Visitors are redirected to the destination. Clicks are tracked if enabled.
Performance Note
Redirects are handled early (e.g. template_redirect or parse_request). Minimal overhead. Click tracking adds one DB write per click. Use 301 for permanent redirects (better for SEO and caching).

Installation & Activation

1
Install WP PowerSuite
Make sure the WP PowerSuite plugin is installed and activated on your site.
2
Enable the Module
Go to the WP PowerSuite menu, find "Link Shortener" in the module list, and click the Enable button.
3
Create Links
Go to WP PowerSuite → Link Shortener. Add links and share short URLs.
Requirements
PHP 8.1 or higher WordPress 6.0 or higher Permission to manage options (Administrator)

Use Cases

  • CampaignTracking
    Marketing campaigns with trackable links
  • URLShortening
    Social media posts with short URLs
  • QRCodeGeneration
    QR codes pointing to long URLs
  • InternalLinking
    Internal links for emails or documents

Frequently Asked Questions

Troubleshooting

  • Redirect not working
    Ensure the slug is unique and the link is active. Check that no page or post uses the same URL. Clear cache. Verify the destination URL is valid.