At my site I can set only <link rel='prev' />
without next
part. Will robots index pages in appropriate way (show first page instead of random page from list) with only prev
attr?
1 Answer
On the last page you only need to use PREV. This is detailed on Google's help page regarding Indicate paginated content.
On the final page of the sequence (
http://www.example.com/article-part4.html
>), add a link pointing to the previous URL, like this:
<link rel="prev" href="http://www.example.com/article-part3.html">
Because this is the final URL in the sequence, there’s no need to add a rel="next" link.
-
Yeah, I read this. But I have SPA, so I don't know is there a next page before data from server loaded.– CrabarCommented Dec 26, 2016 at 7:43
-
It's pointless to use PREV without a NEXT.... if indeed a next page exists, unless it is the final page as mentioned. If you can't use NEXT... do not use PREV or better yet... fix your code so that both work. Commented Dec 26, 2016 at 15:37
<link>?pageNumber=X
in search results but links from these will be still crawled and indexed?