=== Pretty Links - Affiliate Links, Link Branding, Link Tracking & Marketing Plugin ===
Contributors: supercleanse, cartpauj
Donate link: https://prettylinks.com
Tags: affiliate links, link branding, link shortner, link tracking, redirects, affiliate, affiliate marketing, affiliates, short links, shorten, shortening, shortlink, shortlinks, shorturl, shrinking, marketing, marketing plugin, cloak, cloaker, cloaking, 301, 302, 307, 404, bit.ly, bitly, tinyurl, link cloaking, link redirection, link shortener, links, pretty links, url redirection, url shortener, urls, seo, slug, slugs
Requires at least: 5.1
Tested up to: 6.0.1
Stable tag: 3.2.7

The best WordPress link management, branding, tracking & sharing plugin. Link shortener helps you easily make pretty & trackable shortlinks.

== Description ==

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.

= 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:

http://blairwilliams.com/pl

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

http://blairwilliams.com/aweber

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

http://blairwilliams.com/w7a

= Features =

* 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

= Pretty Links Pro =

[Upgrade to Pretty Links Pro](https://prettylinks.com/why-upgrade/ "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](https://prettylinks.com/about "Learn More") | [Pricing](https://prettylinks.com/pricing/plans/ "Pricing")

== Installation ==

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.

== Changelog ==
= 3.2.7 =
* Fix index replacements

= 3.2.6 =
* Fix upgrade to Pro bug

= 3.2.5 =
* 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

= 3.2.4 =
* Review notification dismissal improvements

= 3.2.3 =
* Removing vestigial files

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

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

= 3.1.1 =
* 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

= 3.1.0 =
* 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

= 3.0.10 =
* 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

= 3.0.9 =
* 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

= 3.0.8 =
* PRO: Fix replacements checkbox getting unchecked when using page builders

= 3.0.7 =
* Fix broken Add New link page - theme conflicts

= 3.0.6 =
* 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

= 3.0.5 =
* 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

= 3.0.4 =
* Fix clicks pagination

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

= 3.0.2 =
* Minor fixes

= 3.0.1 =
* 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

= 3.0.0 =
* 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

