Site logo

Archived topic

Issues with canonical on archive pages

1 reply · Started by Hilton on November 14, 2019

Viewing posts 1–2 of 2

Hi,

The archive pages do not have the canonical set up correctly. For example, on this page here https://www.mysite.com/diet/page/2/ the source of the page is displaying the following canonical:

<link rel="canonical" href="https://www.mysite.com/diet/page/2/" />

when it should actually be

<link rel="canonical" href="https://www.mysite.com/diet/" />

Hi there,

I don't think this is related to the theme as WordPress itself handles all the permalink settings:
https://wordpress.org/support/article/using-permalinks/

Can you test it with all plugins disabled and see if the same issue exists?

What if you switch to a twenty series WP theme temporarily?

This archived topic is closed to new replies.