That link is output by WordPress, not All in One SEO Pack. We only output the canonical URL.
I see. Do you maybe know a way to get rid of this /page/2 ?
I do not, that’s generated by WordPress so you may want to post in the general support forum.
Just reading the help file and read this:
No Pagination for Canonical URLs
This option was added for those users who want to remove the pagination from Canonical URLs. Typically the Canonical URL for a paginated page or post will be displayed at http://mydomain.com/page/2/. This option removes the /page/2/ from the Canonical URL.
It is ticked but it is not removing it.
Also, I have deleted the line below in wordpress default-filters.php and the /page/2/ is still in the source. I doubt is output by wordpress.
add_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 );
Not sure what the issue?
-
This reply was modified 6 years, 11 months ago by maximmmus.
Hi @wpsmort,
I have found the problem. I have deactivated your seo plugin to see if it will fix the problem with the page/2/ showing in the source and yes it made it disappear.
So I guess is the plugin which outputs the page/2/ in the source.
Can you provide a fix for this?
Thanks.
Quick Sweet treat, this has fixed it. Thank you!
-
This reply was modified 6 years, 11 months ago by maximmmus.