Could you add the rel next and prev to WordPress Loop?

Posted in: Newspaper
Post count: 12

Actually Yoast doesn’t add the next and prev links to the headers of the pages that have pagination.

https://yoast.com/rel-next-prev-paginated-archives/

Add “noindex” to this pages is a temporally solution, but not the best for SEO. Google say this:

https://support.google.com/webmasters/answer/1663744?hl=en

We need next and prev links if we use WordPress “The Loop” for a better SEO. And the canonical to the self page.

Sample (imagining that we have a blog with 99 pages):

The homepage have this header:
<link rel=”canonical” href=”https://mydomain.com/”&gt;
<link rel=”next” href=”https://mydomain.com/page/2/”&gt;

The second page of the Loop:

<link rel=”canonical” href=”https://mydomain.com/page/2/”&gt;
<link rel=”prev” href=”https://mydomain.com/”&gt;
<link rel=”next” href=”https://mydomain.com/page/3/”&gt;

The last page of the loop:

<link rel=”canonical” href=”https://mydomain.com/page/99/”&gt;
<link rel=”prev” href=”https://mydomain.com/page/98/”&gt;

I think we would all be very grateful to add this code, as WordPress developers don’t seem to want to.

Post count: 85

Great idea and I thought Newspaper already had this unless it changed with the latest updates. We still are holding off with 8.6 after all the issues.

Post count: 20685

I will add this on our list and it will be considered by the developer team. In a future update this may be available in the theme. Thank you for mentioning this suggestion.

Post count: 12

Thanks Simion!!!

Post count: 1341

We need next and prev links if we use WordPress “The Loop” for a better SEO. And the canonical to the self page.

+1.
Thank you, Simion!

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.