Yoast Knowledge Base

Is The Plugin Compatible With Paginated Content?

On paginated pages like category or tag archives, date archives or author archives, Yoast SEO will add a canonical to the current paginated page. So, say you’re on example.com/category/uncategorized/page/2/, the canonical will point at exactly that URL. Yoast SEO will also addrel="next" and rel="prev" links, pointing to the previous and the next page in the paginated series. These three combined make sure that search engines understand that they’re on a paginated series and will crawl it accordingly.

A common misconception is that the canonical on a paginated page should always point to page 1 in the series. This is not the case. When you do that, you run the risk of search engines not indexing links that appear on page 2, 3 etc. of your archives. This would cause older articles to drop out of the search results entirely.

Of course, you can change the canonical element of a category, tag or other taxonomy archive to point at another page by following the steps here.

How do I see therel="next" and rel="prev" tags?

You can view therel="next" and rel="prev" tags by looking at the source code. This guide explains more: How to View the Source Code of your Site.

Why is this not working on my paginated content?

Our plugin utilizes the built-in WordPress core functions to recognize pagination. Some plugins and theme developers have modified or created their own method of adding pagination. In these cases, custom code may need to be written by a developer to pass information between our plugin and the plugin or theme creating the pagination. Please reach out to the developer of the plugin or theme in question to request information on being compatible with our plugin.

Available Developer Filters

The wpseo_prev_rel_link and wpseo_next_rel_link filters can be used to customize the output or return false to disable the output. Some examples can be found below: