alleyinteractive / alleyinteractive/wp-seo

Appropriately handle pagination links

未关闭
#144 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
php
主要语言
PHP
星标
45
派生
13
平均合并
12 天 16 小时
30 天内合并 PR
5

描述

### Description

We should properly define the indexing and follow status of pages after page 1 on archives in order to better preserve crawl budget for our sites.

### Use Case

When a user uses this plugin, the archives should be optimized for crawl budget.

### Acceptance Criteria

- Index page (page 1) should be indexed and followed
- Pages after page 1 should be noindex, follow
- Pagination links for pages after page 20 (need to confirm this number) should have `rel="nofollow"` (this includes the actual number link as well as the "next" link if the next link would link to a page after page 20)
- Also add this logic to robots.txt using a wildcard pattern

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。