Wordpress Redirecting Non Category Pages /page/nnn to their Canonical URLs
I seemingly to have a strange issue I have found in almost every other Wordpress site.
Suppose, you have set your Blog home to a static WP page /myhome
. And you have a separate page for blog /blog
.
Now, this works fine and should be:
/blog
/blog/page/2
/blog/page/3
/blog/page/4
But, for all other pages, e.g. /about-us
, these links also work:
/about-us/page/2
/about-us/page/3
/about-us/page/4
And show the content of the /about-us
page.
My problem is that /about-us/page/2
should ideally redirect to /about-us
(it's canonical URL) since there are no paginations in any other page except the /blog
.
What am I missing there ? This seems to happen on almost all sites I have checked and is really frustrating from SEO point of view.
Topic rel-canonical url-rewriting htaccess Wordpress
Category Web