WordPress / WordPress/Learn

Create a 410 page template

Open
#2,914 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Enhancement
Dominant language
PHP
Stars
333
Forks
127
Avg merge
1d 7h
Merged PRs (30d)
11

Description

As we prepare to unpublish some of the deprecated tutorials that don't have a newer equivalent, we'll be using a 410 redirect to tell search engines that these pages have been permanently deleted.

We can use the "401 not found" template as a base for the new 410 template, with the addition of a line to request feedback about what the user came looking for.

This can link to https://learn.wordpress.org/report-content-feedback/

Preliminary wording suggestion, but would love @thetinyl and @bsanevans's thoughts:

If you were looking for something specific, please let us know.

Related issues: #2499 #2496 #2393

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

Locate the existing 401 not found template and use it as the starting point for the new 410 page. Add the feedback request linking to the provided report-content-feedback URL, then verify that the 410 template displays the intended wording and link.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
content, frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.