WordPress / WordPress/Learn

Requests to paginated views of the homepage should redirect to the homepage

Open
#2,480 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Component] Learn Theme [Type] Bug Dev SEO
Dominant language
PHP
Stars
333
Forks
127
Avg merge
1d 7h
Merged PRs (30d)
11

Description

URLs that request paginated views of the homepage, like https://learn.wordpress.org/page/4/ are publicly available but don't return a paginated state. This represents an SEO and analytics headache, which we should clean up.

All such requests should redirect to the homepage with a 301 HTTP status

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the routing or request handling for homepage paths matching /page/{number}/ and check how redirects are currently implemented. Verify that requests such as /page/4/ return a 301 redirect to the homepage, including any relevant request or routing tests if present.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.