Pagination with canonical URLs, rel=“next” and rel=“prev”

Datum: 23. September 2011

Archive note. First published on 23 September 2011. The products, interfaces and recommendations discussed here reflect the time of publication.

How to avoid double content with Canonical URLs has become a recurring concern for online store operators and website owners. Google’s duplicate content sensors have become more sensitive in recent years, so that many online shops and websites can be found in a penalty without any evil intention. If Google automatically detects a possible attempt at fraud on the website using the Google algorithm, the affected domain is used for this . Keyword positions are often reduced by several pages in the search results. Meanwhile it becomes clear that the entire domain is punished even if only part of the subpages is affected. The result is a strong visitor break and in the case of shops as a consequence of this a drop in sales.

Even if you have correctly integrated the Canonical-Tag on the website, there is still a risk of getting into an awkward situation through sorting functions in the shop or through archive functions in the blog.

Google has therefore provided the new Canonical function Pagination, which solves this duplicate content problem.

Canonical day for pagination in practice
A typical page sorting could look like this:
<prev> <1> <2> 3 <4> <5> <next>

In addition to the already known rel=-canonical, the link elements rel=-next- and rel=-prev- can now be used in HTML-<head> to make a reference to the currently active page.

On page 1 comes into the <head> only
<link rel=“next” href=“https://www.metamove.de/blog/page/2/” />

On page 2 comes into the <head>
<link rel=“prev” href=“https://www.metamove.de/blog/page/1/” />
<link rel=“next” href=“https://www.metamove.de/blog/page/3/” />

On page 3 comes into the <head>
<link rel=“prev” href=“https://www.metamove.de/blog/page/2/” />
<link rel=“next” href=“https://www.metamove.de/blog/page/4/” />

On page 4 comes into the <head>
<link rel=“prev” href=“https://www.metamove.de/blog/page/3/” />
<link rel=“next” href=“https://www.metamove.de/blog/page/5/” />

On Page 5, the last page, comes into the <head> only
<link rel=“prev” href=“https://www.metamove.de/blog/page/4/” />

Normally, Absolute Paths are used if you use the <base> element, relative paths are also allowed.

Other interesting contributions to the Canonical URL Pagination:

Tags dieses Beitrags:


    Schreibe einen Kommentar zu "Pagination with canonical URLs, rel="next" and rel="prev""

    Etwas HTML ist ok