Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Pagination not applied to custom canonical URLs #948
If you have Enable Custom Canonical URLs checked and set a custom canonical URL for a post with paginated content, the custom canonical URL appears without the page number on the end.
First page - link rel="canonical" href="http://aioseop.dev/my-custom-canonical-url/"
The correct URLs for second and third pages should be:
Thanks to report here @wpsmort
It's a serious issue for a web using custom canonicals. Because I experienced a drop rankings for some targeting articles, that other URL used canonical pointed to those articles.
I update the issue here, since I was blocked to login to wordpress.org by jetpack (don't know why, I didn't spamming or did anything wrong since I asked a question in support forum).
Seems that the plugin use a wrong canonical, if the the first position on a certain page having a custom canonical. It will not happened if the article that having a custom canonical is other than at the first position (e.g at second, third, fourth, so on).
The https://www.richamorindonesia.com/masker/ has a custom canonical to https://www.richamorindonesia.com/cara-memutihkan-kulit-secara-alami-dan-aman/
I hope this info can make event clear of the issue.