Many sites that have been around for awhile have probably changed their permalink structure over the years. Peramlinks with paths that included dates and .html used to be all the rage (or maybe that was just the default). Today, there are some very compelling reasons to remove that extra data from the URLs and simplify the peramlinks. Also, there’s that whole switch to HTTPS thing that Google’s been pushing so hard in the last year or so, which also cause your internal URLs to change by adding an that extra “s”.
The Problem with Redirects
Whenever your permalink structure changes, you’ll setup (or have setup for you) redirect rules on your server that make sure your old URLs still work. Links to
will automatically redirect to
But did you know, all of those redirects can slow your server down and negatively impact your site’s page speed? From Google’s Page Speed Analysis documentation:
(2) Number of redirects should be minimized
Additional HTTP redirects can add one or two extra network roundtrips (two if an extra DNS lookup is required), incurring hundreds of milliseconds of extra latency on 4G networks. For this reason, we strongly encourage webmasters to minimize the number, and ideally eliminate redirects entirely – this is especially important for the HTML document (avoid “m dot” redirects when possible).
The Internal Permalink Redirect Fix
The Internal Permalink Redirect Fix to the rescue! This fix will update all of the internal links in your posts to match your current permalink structure, thus avoiding those redirects and keeping the extra strain off your server. The redirect rules will remain in place for links that may come in from outside sources.