Hi @ve6304,
Thanks for the report!
I do have two questions:
1. Are there any “relative URL”/”minification” plugins active?
2. Is the canonical URL relative?
Cheers 🙂
Hi Sybre,
Ah, I now see that the domain name is missing -;)
1. Yes, I use Roots’ Soil plugin for relative URL’s. But, no minification plugin.
2. Yes, the canonical URL is relative:
<link rel="canonical" href="/library/2017/" />
<link rel="next" href="http:///library/2017/page/2/" />
Cheers!
Thanks, Henk!
I see where the issue resides, and why it isn’t present in other features.
I’ve opened a GitHub issue for this, briefly explaining the details:
https://github.com/sybrew/the-seo-framework/issues/277
I recommend disabling the relative URL feature; unless you are in real need of it.
Alternatively, I recommend disabling the relative URL settings in TSF, given that your paginated URLs are easily interpretable.
In any case, you should read up on this article by Moz, explaining the pros and cons of relative and absolute URLs.
I highly favor absolute URLs for SEO benefits, as those carry very relevant information like the URL scheme and subdomain (www vs non-www) usage.
Next to that: you’re using the dynamic web! WordPress (and TSF) takes great care of the canonical URLs, so you need not worry about them.
And, thank you!
I switched to absolute URL’s now. Good article by Moz. This article by KeyCDN adds to that nicely.
Best, Henk