peterwilsoncc/rapid-canonical-urls

Reduce 301 redirects and HTTP requests to show visitors WordPress's correct, canonical URL.

1.0.3 2024-03-19 23:43 UTC

This package is auto-updated.

Last update: 2024-04-20 00:00:03 UTC


README

=== Rapid Canonical URLs ===
Contributors: peterwilsoncc
Tags: canonical urls, history api, html5
Requires at least: 4.4.0
Tested up to: 6.5
Requires PHP: 5.6.20
Stable tag: 1.0.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Reduce 301 redirects and HTTP requests by using HTML5’s history API to
show visitors the correct, canonical URL.

== Description ==

WordPress uses 301 redirects to redirect URLs to their canonical version.

In cases where the non-canonical version will show the correct content,
it is possible to use the HTML5 history API to show visitors the correct
URL without the additional HTTP request.

This reduces HTTP requests, speeding up access for visitors and reducing
the load on your server.

It is *strongly recommended* you use this plugin in association with an
SEO plugin that adds canonical URL meta tags.

== Installation ==

1. Upload the rapid-canonical-urls folder to the /wp-content/plugins/ directory
2. Activate the Rapid Canonical URLs plugin through WordPress's 'Plugins' menu
3. (Optional but recommended) If you haven't already, install an SEO plugin which adds canonical URL tags

== Frequently Asked Questions ==

= Could this result in duplicate content? =

It is possible. It's strongly recommended you use an SEO plugin that adds
canonical URL meta tags to mitigate this.

= What happens in older browsers? =

Older browsers will display the non-canonical version of the URL to the user.
The same is true for users who disable JavaScript.

= What SEO plugin do you use? =

There are many plugins available, two to consider are
[WordPress SEO by Yoast](https://wordpress.org/plugins/wordpress-seo/) and
[All in One SEO Pack](https://wordpress.org/plugins/all-in-one-seo-pack/).

== Changelog ==

= 1.0 =

* Rewrite to use namespace following WP bump to a minimum of PHP 5.6

= 0.1 =

* Initial version