Plugin Directory

Pretty Links – Affiliate Links, Link Branding, Link Tracking & Marketing Plugin

Pretty Links – Affiliate Links, Link Branding, Link Tracking & Marketing Plugin


Pretty Links helps you shrink, beautify, track, manage and share any URL on or off of your WordPress website. Create links that look how you want using your own domain name!

Pretty Links 🌠

Pretty Links enables you to shorten links using your own domain name (as opposed to using tinyurl.com, bit.ly, 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.

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 aweber.com:


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


Features ✔️

🔗 Create clean, simple URLs that redirect to any other URL
Easily turn your long URLs into short ones within a matter of seconds.

💰 Seamless Stripe Sales*
Create a branded, one-click path to payment with NEW PrettyPay™ Links. Share your link and start selling anywhere – instantly.

🔃 Supports 301, 302, and 307 redirects
Redirect users using one of our three redirect types: 301 (Permanent), 302 (Temporary), and 307 (Temporary).

🖱️ One-Click Link Sharing
Copy and manage your pretty links all in one centralized area.

⚙️ Fully configurable slugs
Pretty Links will automatically generate 3-4 random characters to use as the slug, but you can also create your own slug to use for your URL.

🔎 Track the Number of Clicks and Unique Clicks per link
Track how well your pretty links are performing by viewing the number of overall clicks and unique clicks on your links.

📊 Generate Highly Customizable Reports
Create reports where you can see a configurable chart of clicks per day. The report can be filtered by the specific link clicked, date range, and/or unique clicks.

💡 Extremely Intuitive Admin User Interface
No need to guess where everything is located. Pretty Links makes the setup and link management process as simple as possible.

⬇️ Download Click Details
Need to download click data for your links? Pretty Links has you covered. The plugin will generate a CSV containing all the information you need to successfully manage your links.

… and so much more! Visit our site to learn more about what Pretty Links can do for you.

* Pro users benefit from no added payment processing fees, while a small 3% fee is added per-transaction for free users.

Pretty Links Pro 💪

Pretty Links Pro is a significant upgrade that adds many tools and redirection types. Here’s a glimpse at some of the different features that Pretty Links Pro offers:

  • Product Displays (NEW!)
    Create beautifully styled and responsive displays for your affiliate links to drive more commissions with ease.

  • Keyword & URL Replacements
    Using one of Pretty Link’s automation features, you can define a list of keywords and URLs, then Pretty Links will automatically scan your site’s content and replace them with your pretty link.

  • Advanced Redirect Types
    Take full control over how your users are redirected. With the Pro version, you can now offer Cloaked redirects, JavaScript redirects, Meta-Refresh redirects, Tracking Pixel redirects, and Geographic redirects.

  • Automatically Create Pretty Links for Posts/Pages
    Another one of Pretty Link’s powerful automation features. Whenever a new page or post is published, Pretty Links will automatically create a pretty link for it.

  • Link Categories & Tags
    Make link management easier by grouping your links together and assigning them a category or tag.

  • Expiring Links
    Set an expiration date on your links and decide where the user is redirected to after clicking an expired link.

  • Link Health
    Runs weekly scans on your site to look for and report any broken links you’ve created within the Pretty Links plugin.

You can learn more about Pretty Links Pro here:

Learn More | Pricing

Integrations ⚡

  • Google Analytics – Easily start tracking your links within Google Analytics
  • MonsterInsights – See how well your links are performing with the MonsterInsights plugin

What’s Next 🤩

Enjoying your time with Pretty Links? Consider checking out some of our other projects:

  • MemberPress – Full-featured Membership solution for WordPress. Control who has access to your site and sell content securely through payment gateways such as Stripe, PayPal, and Authorize.net
  • EasyAffiliate – Complete Affiliate Program management plugin for WordPress. Start an Affiliate Program to dramatically increase traffic, attention, and sales.
  • ThirstyAffiliates – Link cloaking plugin made specifically for affiliate bloggers to start making money.
  • Buy Now Plus – Easily start accepting Credit Card payments through a simple buy now button on your website or social media accounts using the Stripe gateway.
  • Members – Roles and capabilities management plugin for your WordPress site. This is an excellent plugin to use alongside a Membership solution such as MemberPress.


  • Setting up a Pretty Link
  • Settings Page
  • Pretty Links Listing
  • Click Tracking


  1. Upload «pretty-link.zip» to the «/wp-content/plugins/» directory

  2. Activate the plugin through the «Plugins» menu in 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.

Vanlege spm.

Who will find Pretty Links useful?

Pretty Links is particularly useful to affiliate marketers. It helps them to clean up, brand, group, organize, and track their links. In addition to affiliate marketing, Pretty Links is also useful to bloggers, podcasters, merchants, social media marketers, and anyone else who wants to easily take control of their link strategy.

Can I use Pretty Links with any WordPress theme?

Absolutely! Pretty Links operates mainly in the WordPress admin, but the front end features should be totally compatible with any WordPress theme.

How do I get started with Pretty Links?

Getting started with Pretty Links is incredibly easy. Everything you need to know you can find on our Getting Started page.

Is Pretty Links Translatable?

Yes! Pretty Links is ready for translation. See our Translating Pretty Links documentation for more information on how you can translate the plugin into your language.

What are the differences in redirect types?

301 (Permanent) redirects are used to tell search engines that a requested URL has been permanently moved to another URL. If you’re confident that your target URL will never change, then use this redirect type. 302 and 307 (Temporary) redirects tell search engines that the requested URL has been moved temporarily, but will be back eventually.


4. juli 2024
Hello When i try to create link, i have a critical message : A critical error has occurred on this site. Please check your site administration email inbox for more information. Thanks for your help
Les alle 1 215 omtalar

Bidragsytarar og utviklarar

“Pretty Links – Affiliate Links, Link Branding, Link Tracking & Marketing Plugin” is open source software. The following people have contributed to this plugin.


“Pretty Links – Affiliate Links, Link Branding, Link Tracking & Marketing Plugin” er omsett til 6 språk. Takk til omsetjarane for bidraga deira.

Omset “Pretty Links – Affiliate Links, Link Branding, Link Tracking & Marketing Plugin” til ditt eige språk.

Interested in development?

Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.



  • Security hardening
  • Removed pause option from PrettyPay Customer Portal as Stripe has temporarily removed this feature
  • Pro: Fixed QR code generation on nginx webservers


  • Fixing issue with prior release showing incorrect version


  • Additional security hardening


  • Security fixes (potential for CSRF patched)


  • Add section for PrettyPay™ within the Welcome and Complete steps for in-plugin onboarding
  • Add notice of 3% fee to PrettyPay™ Links sub-page for free users
  • Add support for ISO encoding when pulling in title from pretty link’s target URL
  • Fix PHP 8 deprecation warnings
  • Fix database error on initial plugin activation
  • Fix body class on Pretty Links page not being escaped
  • Pro: Add filter hook for invalid response codes in Link Health


  • Fix PrettyPay™ auto-creating Thank You pages


  • WP 6.4 Compatibility
  • Saving settings would break in some cases
  • Show proper error when saving Customer Portal failed
  • Link Inserter broken due to missing lodash


  • Launching all-new PrettyPay™ Links
  • PHP 8.2 compatibility fixes


  • Fix scheduling and how empty images are displayed within in-plugin notifications
  • Replace feature images on onboarding welcome page
  • PHP 8.2 compatibility fixes


  • PHP 8.2 compatibility fixes


  • Fix deprecation notice when table result is null
  • Fix undefined post type warning when enqueuing frontend scripts


  • NEW: Significantly improved onboarding process by implementing a full-fledged wizard that walks through the basics of setting up Pretty Links
  • Pro: Add filter hooks for geolocation
  • Pro: Add ability to scan link’s health status individually
  • Pro: Display link’s health status as a separate column on Pretty Links listing page
  • Pro: Deprecate Pretty Bar
  • Pro: Deprecate GA integration
  • Pro: Refactor Replacements tab so URL and Keyword replacements function independently of each other
  • Prevent redirect code from running during search
  • Allow special characters for URI and Referrer fields on Clicks page
  • Fix PHP warnings being displayed when editing a restored pretty link


  • Update dependencies used for building Gutenberg assets.


  • Separate Pretty Links inserter button into its own toolbar group within the Block Editor
  • Consolidate Pretty Links metaboxes
  • Add nonces to Tools page
  • Pro: Disable content decoding by default on posts built with Elementor
  • Pro: Changed «Activate» link to «Manage License» on Plugins screen


  • Introducing support for Add-ons in Pretty Links (NEW!)
  • Add code needed for Product Displays Add-on (Pro Add-on)
  • Add footer containing helpful links
  • Fix conflict with localized JS object
  • Fix issue with keyword replacements and HTML tags containing new line characters (Pro)


  • Fix issue with bulk editing link settings
  • Remove legacy code that overrides PHP memory_limit
  • Update Link Health to only check for 404 errors (Pro)


  • Optimize SQL query for Link Health (Pro)


  • Fix error on older PHP versions


  • Pro: Add Link Health
  • Fix warning when using PHP8 and server-side cron


  • Update readme.txt
  • Fix JS error on options page
  • Set cookie using secure attribute when accessed via secure connection
  • Fix PL Link Inserter jumping to bottom of page on WP 6.1
  • Fix Gutenberg deprecation notices


  • Fix index replacements


  • Fix upgrade to Pro bug


  • Fix fatal error if update transient is false
  • Notifications Inbox
  • Small bug fixes
  • Pro: Don’t force black background on cloaked urls
  • Pro: License key optimizations


  • Review notification dismissal improvements


  • Removing vestigial files


  • Show link slug instead of full URL in list
  • PHP 8.0 support
  • Pro: Fix keywords being replaced in scripts


  • UI Tweaks
  • Pro: Fix auto-created links not using requested slug
  • Pro: Link rotation weights of 1% supported now


  • Remove duplicate queries to help performance
  • Fix compatibility issue with WPML language prefix in URL’s
  • Pro: Fix infinite loops with broken or missing import files


  • Add support for sponsored rel tag
  • Add sponsored toggle support in gutenberg and tinymce editors
  • Fix report graphs not loading for some
  • PRO: Fix bug with keywords replacements
  • PRO: Cleaned up GA support


  • Add support for nofollow in Gutenberg popup
  • Fix post_author being set to 0 on CPT
  • Fix for duplicate links being created
  • Fix clicks ordering on links list
  • Fix Redirection dropdown display WP 3.5


  • 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