When I audit a website with free or paid tools such as Screaming Frog SEO Spider I get the following issues:
- Pagination: Pagination URL Not in Anchor Tag
- Pagination: Sequence Error
I am using Jekyll SEO tag (version release 2.8.0)
I did not find any fix on the developer's page (https://github.com/jekyll/jekyll-seo-tag) and the available documentation does not cover the matter. How can I resolve these issues?
DESCRIPTION OF THE PROBLEM
This problem occurs because with Jekyll SEO tag URLs contained in either, or both, the
rel="next"andrel="prev"attributes of the page are not found as a hyperlink in an HTML anchor element on the page itself. Paginated pages should be linked to within regular links to allow users to click and navigate to the next page in the series. They also allow Google and other search engines to crawl from page to page, and PageRank/Page Authority to flow between pages in the series.With Jekyll SEO tag paginated URLs are not linked to within
<a>tags. According to SEO documentation, this does not facilitate them to be crawled and indexed, and pass PageRank/Page Authority onto any URLs they link to.RESOLUTION
gem info jekyllAn output similar to the following result would be shown:
Prerequisites: In the Jekyll folder
_includescreate thefile seo-paginator.htmlSteps:
From within the folder
3.2.0gemsfolderjekyll-seo-tag-2.8.0libtemplate.htmlfiletemplate.htmlfileAnd paste them in the
seo-paginator.htmlfile.seo-paginator.htmlfile, replace the following strings:With the following strings:
_layoutsopen thedefault.htmlfile, and insert somewhere in thebodyelement the following string:template.html,seo-paginator.html, and thedefault.htmlfiles.Rebuild the website with Jekyll, and review the page source of the HTML page from the Web browser. Now you would notice that
<a>tags are present.I am not affiliated to any of the mentioned software or brands.