=== Canonical Link ===

Contributors: webguyio
Donate link: https://webguy.io/donate
Plugin link: https://webguy.io/blog/super-simple-dynamic-canonical-link-code/
Tags: canonical, canonicalization, clean url, seo, seo-friendly, user-friendly, search engine optimization, google
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.6
License: Public Domain
License URI: https://wikipedia.org/wiki/Public_domain

Adds the canonical link to your site (https://wikipedia.org/wiki/Canonical_link_element). Activate and then set your permalinks to "Post name" under Settings > Permalinks. That's it. Verify that it's working correctly with the Firefox add-on: https://addons.mozilla.org/addon/canonical-link/.

== Description ==

Adds the canonical link to your site ([Learn More](https://wikipedia.org/wiki/Canonical_link_element)).

Activate and then set your permalinks to "Post name" under *Settings > Permalinks*. That's it.

Verify that it's working correctly with the [Firefox add-on](https://addons.mozilla.org/addon/canonical-link/).

Supports the ability to customize the canonical link for any specific page, post, or even custom post types (including WooCommerce Products and bbPress Topics).

== Installation ==

**Automatic**

* From your WordPress Admin, navigate to: **Plugins** > **Add New**
* Search for: **Canonical Link**
* Install it
* Activate it
* Please see **Additional Instructions**

**Manual**

* Download
* Unzip
* Upload to /plugins/ folder
* Activate
* Please see **Additional Instructions**

**Additional Instructions**

You will also need to update your permalinks (if you haven't already), which will give you desirable SEO-friendly and user-friendly URLs anyway:

* From your WordPress Admin, navigate to: **Settings** > **Permalinks**
* Under "**Common Settings**", select "**Post name**"
* Click "**Save Changes**" and you're done

== Changelog ==

= 1.6 =
* Minor code cleanup

= 1.5 =
* Minor cleanup

= 1.4 =
* Added support for custom canonical links on single pages and posts

= 1.3 =
* Added https support

= 1.2 =
* Removed syntax error from code

= 1.1 =
* Cleans URLs better, removing query strings (**?**)

= 1.0 =
* New