Early Access

Link

prev

Learn how to use the prev rel link tag to improve your site.

The "prev" link relation is used to indicate a relationship with the previous document in a series. This is typically used in paginated series to help web crawlers understand the structure and navigate between pages more efficiently.

Code Examples

<link rel="prev" href="https://example.com/page/1">
Correctly points to the previous page in a paginated series.
<link rel="prev" href="https://example.com">
Incorrectly points to the main page instead of the previous page in the series, disrupting the pagination flow.

Recommendations

  • Correct Pagination
    Ensure that the "prev" tag points to the immediately preceding page in the sequence to maintain proper pagination flow.
  • Combine with rel="next"
    For optimal SEO benefits, use "prev" in conjunction with rel="next" to provide complete forward and backward navigation cues.

Related Documentation