With comment pagination, Google doesn’t index the older pages and comments become essentially lost to searches.
Is there a way to let search engines crawl paginated comments, perhaps by generating a sitemap file that includes all paginated comments?
With comment pagination, Google doesn’t index the older pages and comments become essentially lost to searches.
Is there a way to let search engines crawl paginated comments, perhaps by generating a sitemap file that includes all paginated comments?
You must be logged in to post a comment.
The reason of why Google doesn’t index paginated comments is because of an issue with the
canonical URL
in your header. You can learn more about the reason behind this in a comprehensive question that I posted earlier. There is an excellent solution posted there for paginated post pages.Now, for Google to index comment pagination, bungeshea posted an answer for a while ago when he (by accident) solved this when actually aiming to fix indexing for post pagination.
Luckily, I saved that code: