Pagination Problem

by ashishrawat 0 replies
Pagination Problem
Hello Friends,

Currently on my site when my pagination page say Page 2 is getting indexed but cached version showing the main page, i have added the <link rel="canonical" href="Main page" /> tag on the page, is this correct??? or do i need to add rel=prev and rel=next in the coding to tell google that pages are connected but do not have duplicate content

Find below code if i need to add on Page 2 :

<link rel="canonical" Page 2 URL or Main Page URL" />

rel=prev href="Page 1"

rel=next href="Page 3"



<link rel="canonical" Page 2 URL or Main Page URL" /> which link need to add Page 2 or Main Page??


Please Reply me.
#programming #pagination #problem
Avatar of Unregistered

Trending Topics