Canonical, rel="next" and rel="prev"
I can’t get Yoast to generate meta content rel=”next” and rel=”prev” on paginated pages of homepage
For above page, it supposed to have this in the header:
<link rel=”canonical” href=”https://website.com/page/3/”
<link rel=”prev” href=”https://website.com/page/2/”
<link rel=”next” href=”https://website.com/page/4/”
But what is showing is:
<link rel=”canonical” href=”https://website.com/”
/> ---------- canonical should point to itself, but it is pointing to the first page of the pagination series. also rel next prev not displaying.
With Yoast, it is supposed to work automatically, but I see it's not working with the theme. I tested it with other themes and it is appearing properly.
*** This is happening for Homepage pagination (example.com/page/2/, example.com/page/3 etc) only. Store page/coupon pages pagination are working perfectly as expected.
Spent many hours solving this but no luck! Please advise how to solve this.
Thank you very much.