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, categorize & tag your 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
  • Create nofollow/noindex links
  • Turn tracking on / off on each link
  • Pretty Links Bookmarklet


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

  2. Ative o plugin por meio do menu “Plugins” no WordPress

  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.


11 de outubro de 2019
I recommend everyone uses pretty links. it is a very helpful cloaking plugin.
27 de setembro de 2019
Pretty weak support which does not answer questions, does not add new urgent and needed functions. Nofollow option is only in a http header but should be in the code either. The plugin development stopped even in the pro version.
27 de setembro de 2019
Does exactly what I need it to do, create short versions of URLs
Leia todas as 245 avaliações

Contribuidores e desenvolvedores

“Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.


“Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin” foi traduzido para 1 localidade. Obrigado aos tradutores por suas contribuições.

Traduzir “Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações


  • Change shortcut key to CTRL + P instead of CTRL + K
  • Support for Nofollow and Tracking Quick Edit and Bulk Edit on the links list page
  • Fix keyword replacement regex


  • PRO: Fix replacements checkbox getting unchecked when using page builders


  • Fix broken Add New link page – theme conflicts


  • Disable “enter” key on the Target URL field
  • Add copy to clipboard to the add/edit link page
  • Fix the incorrect message being display when updating a link
  • Redirect to the links list page after creating or updating a link
  • Add the ability to sort by Clicks to the links list table


  • Fix description conflict with the WP Product Review plugin
  • Avoid menu position conflicts
  • Add Target column to links list table
  • Disable auto-saving on links
  • Fix links having Draft status on creation
  • Fix not being able to Create/Edit links until saving options
  • Fix Prettybar color issue when saving plugin options


  • Fix clicks pagination


  • Fix Avada Fusion Builder conflict
  • Fix redirect caching on update/welcome page
  • Fix conflict with WP Product Review plugin


  • Minor fixes


  • Fix issues when accessing the plugin as a non-administrator
  • Simplify the checks in is_slug_available
  • Add slug and url as searchable fields in the links list
  • Fix for high CPU issues and huge log sizes
  • Fix layout issue on the update page
  • Fix category migration not running
  • Fix errors when dates are null
  • Call wp_cache_delete after update/delete_option
  • Only redirect if delete succeeds, redirect status code 307
  • Fix failed category/cpt migrations


  • Re-designed Admin UI especially the Admin Links UI including links listing, adding new links and editing links
  • Added an Insert Pretty Link button for Gutenberg Paragraph Blocks
  • Security fixes and hardening
  • Fixed Slug is not Available Error
  • Removed Pretty Links Groups (lite users will still be able to access legacy groups on the links listing page but pro users & lite users who upgrade to pro will have their groups migrated to become link categories)
  • PRO ONLY: Added Pretty Link Categories
  • PRO ONLY: Added Pretty Link Tags
  • PRO ONLY: Fixed some issues with Pretty Link Imports and Exports
  • Many other small fixes and enhancements


  • 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