Automattic / Automattic/o2

xpost redirects should be 301's rather than 302

Open
#178 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
338
Forks
56
Avg merge
24m
Merged PRs (30d)
16

Description

As reported in https://meta.trac.wordpress.org/ticket/4775 the xpost redirects should 301 (Permanent) to their respective locations rather than just 302'ing (Temporary)

Code ref: https://github.com/Automattic/o2/blob/master/inc/xposts.php#L572-L588

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in inc/xposts.php at lines 572-588 and inspect how xpost redirects are created. Change the redirects from temporary to permanent, then verify that each xpost redirects to its respective location with a 301 status.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, wordpress
Domain
backend, web-dev
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.