Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin


Pretty Links Pro

Upgrade to Pretty Links Pro

Pretty Links Pro is a significant upgrade that adds many tools and redirection types that will allow you to create pretty links automatically, cloak links, replace keywords thoughout your blog with pretty links and much more. You can learn more about Pretty Links Pro here:

Learn More | Pricing

Pretty Links

Pretty Links enables you to shorten links using your own domain name (as opposed to using,, or any other link shrinking service)! In addition to creating clean links, Pretty Links tracks each hit on your URL and provides a full, detailed report of where the hit came from, the browser, os and host. Pretty Links is a killer plugin for people who want to clean up their affiliate links, track clicks from emails, their links on Twitter to come from their own domain, or generally increase the reach of their website by spreading these links on forums or comments on other blogs.

Link Examples

This is a link setup using Pretty Links that redirects to the Pretty Links Homepage where you can find more info about this Plugin:

Here’s a named pretty link (I used the slug ’aweber’) that does a 307 redirect to my affiliate link for

Here’s a link that Pretty Links generated a random slug for (similar to what or tinyurl would do):


  • Gives you the ability to create clean, simple URLs on your website that redirect to any other URL (allows for 301, 302, and 307 redirects only)
  • Generates random 3-4 character slugs for your URL or allows you to name a custom slug for your URL
  • Tracks the Number of Clicks per link
  • Tracks the Number of Unique Clicks per link
  • Provides a reporting interface where you can see a configurable chart of clicks per day. This report can be filtered by the specific link clicked, date range, and/or unique clicks.
  • View click details including ip address, remote host, browser (including browser version), operating system, and referring site
  • Download hit details in CSV format
  • Intuitive Javascript / AJAX Admin User Interface
  • Pass custom parameters to your scripts through pretty link and still have full tracking ability
  • Exclude IP Addresses from Stats
  • Enables you to send your pretty links via Email directly from your WordPress admin
  • Select Temporary (302 or 307) or Permanent (301) redirection for your pretty links
  • Cookie based system for tracking visitor activity across clicks
  • Organize Links into Groups
  • Create nofollow/noindex links
  • Turn tracking on / off on each link
  • Pretty Links Bookmarklet


  1. Upload ’’ to the ’/wp-content/plugins/’ directory

  2. Ota lisäosa käyttöön WordPress hallintapaneelin Lisäosat kohdassa

  3. Make sure you have changed your permalink Common Settings in Settings -> Permalinks away from ”Default” to something else. I prefer using custom and then ”/%year%/%month%/%postname%/” for the simplest possible URL slugs with the best performance.


heinäkuu 14, 2019
Way more powerful then any thirdparty link shortener. And short links are still on YOUR domain.
heinäkuu 4, 2019
excellent plugin makes it super simple to create pretty links.
kesäkuu 30, 2019
An excellent plugin to share links using your domain. And to track them down. Are you an affiliate? You must have it!
Lue kaikki 170 arvostelua.

Avustajat & Kehittäjät

“Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet tämän lisäosan kehittämiseen.


“Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin” has been translated into 1 locale. Kiitoksia kääntäjille heidän työstään.

Käännä “Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin” omalle kielellesi.

Oletko kiinnostunut kehitystyöstä?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • More security hardening


  • Fixed some security issues


  • Fixed broken charts in dashboard widget
  • Fixed duplicate social buttons
  • Fixed warning of ”invalid argument supplied to foreach”


  • Changed clipboard library
  • Fixed an issue with non-countable strings for PHP 7.2
  • Fixed issue with large indexes utf8mb4 innodb
  • Fixed issue with ampersands in Keywords
  • Fixed issue with keywords being replaced
  • Fixed issue with ’+’ sign not allowed in slugs
  • Fixed self-closing tags for keyword replacement
  • Fixed Arabic (UTF-8) characters


  • Fixed a conflict with Mulit-site variable name


  • Fixed Target URL Rotations
  • Fixed domain mapping and home_url in Multi-site
  • Fixed GeoRedirect for IPv6


  • Fixed IP conflict with Flywheel
  • Fixed wp_redirect race condition


  • Addressed security vulnerabilities
  • Fixed content-type header
  • Fixed -1 PHP memory_limit error
  • Updated redirects to use wp_redirect()
  • PRO Enhanced WooCommerce keyword replacements
  • PRO Fixed replacing keywords in header and other HTML tags
  • PRO Fixed link expiration dates being 1 day off


  • Updated user manual link
  • Rebranded from Pretty Link to Pretty Links


  • Redeploy to WP Repo


  • Fixed bug breaking TinyMCE


  • Fixed pixel redirect type tracking
  • Fixed ordering for geo redirects
  • Fixed URL validation
  • Fixed split test reporting


  • Fixed a regular expression warning
  • Use PHP’s url validation in utils


  • Enhanced database performance
  • Added code to automatically remove click data from the database that is no longer being used
  • Fixed numerous bugs
  • PRO Prevent keywords autolinking from creating circular links


  • Fixed numerous bugs


  • Fix URI params not sticking
  • PRO Fix apostrophe in keywords


  • Important performance fix
  • PRO Fixed an issue with Google Analytics integration


  • Fixed a small javascript issue
  • Fixed a small issue with Keyword Replacements
  • Fixed an issue with the pro automatic update code that was affecting lite users


  • Fixed Link titles on the Pretty Link listing admin screen
  • Fixed a small collation issue
  • Added convenience links on the plugin listing admin screen


  • Added an Insert Pretty Link editor popup to create and insert pretty links while editing a page, post or custom post type
  • Added a base slug prefix feature so that new Pretty Links can be prefixed
  • Added auto-trimming for clicks to keep click databases operating at full performance
  • Refactored entire codebase
  • Completely new UI
  • Tools have been better separated out into it’s own admin page
  • Now fully translatable
  • Fixed numerous bugs including ”Slug Not Available” issue
  • Numerous stability, security and performance fixes
  • Removed banner advertisements on the Pretty Link list admin page for lite users
  • PRO Added support for automatically created links on Custom Post Types
  • PRO Added automatic link disclosures for keyword replacements
  • PRO Added pretty link keyword replacement indexing for better performance
  • PRO Added Geographic redirects
  • PRO Added Technology-based redirects
  • PRO Added Time-based redirects
  • PRO Added Link Expirations
  • PRO Enhanced Link Rotations to accept more target URLs
  • PRO Enhanced Social Share buttons to look better and support modern social sites
  • PRO Enhanced QR codes code that produces them quicker and at larger sizes
  • PRO Added an auto url replacement blacklist to ensure some URLs won’t ever be replaced
  • PRO Added the ability to add custom head scripts to redirect types that support it (Javascript, Cloaked, Pretty Bar, Meta Refresh, etc)
  • PRO Enhanced the reliability and amount of data that can be imported and exported
  • PRO Changed auto update system to use a license key instead of username / password
  • PRO Consolidated the ”Pro” Options to appear on the main Pretty Link Options admin page
  • PRO Removed Double Redirects
  • PRO Removed the Twitter Badge option … this is now handled better with the social share bar or through another plugin like Social Warfare
  • PRO Removed the Auto-Tweet capability … auto-tweeting is handled better on a service like Buffer or Hootsuite