Make WordPress Core

Opened 3 years ago

Closed 3 months ago

Last modified 3 months ago

#58518 closed defect (bug) (fixed)

"More info about performance optimization" links in Site Health go to 404 error on WordPress.org

Reported by: jeffgreendesign Owned by: SergeyBiryukov
Priority: normal Milestone: 7.1
Component: Site Health Version:
Severity: normal Keywords: close
Cc: Focuses: docs

Description

On the Site Health page, at least under the "Enqueued scripts" improvements, the links for "More info about performance optimization" go to a broken link on wordpress.org (https://wordpress.org/support/article/optimization/). According to archive.org, it looks like that link was live as late as May 16, 2023. Not sure if there is now a new page. The only optimization page is https://wordpress.org/documentation/article/search-engine-optimization/.

Change History (13)

#1 @SergeyBiryukov
3 years ago

#58521 was marked as a duplicate.

#2 @sabernhardt
3 years ago

The page was deleted two weeks ago according to the issue tracker:
https://github.com/WordPress/Documentation-Issue-Tracker/issues/795

Another issue suggests there might be an updated version in the future (possibly with a different URL):
https://github.com/WordPress/Documentation-Issue-Tracker/issues/824

#3 follow-up: @SergeyBiryukov
3 years ago

Hi there, welcome to WordPress Trac! Thanks for the report.

I was able to find some context in a comment on Slack by @stevenlinx:

The "Optimization" page now resides in Advanced Administration handbook.

The old page under HelpHub was removed as a consequence of Issue 795. But for some reason, if you use the old URL, it didn't re-direct properly, it re-directs to another page called "Optimization – Caching" because the title resembles "Optimization". And this page is just the "Caching" section of the "Optimization" page, so this page can be deleted as well.

The old URL now shows 404. The one in AAH is the right one.

However, the Optimization page on HelpHub appears to be working again now. Looks like it was reinstated?

#4 @sabernhardt
3 years ago

I get the 404 error in two browsers, including the one where I am logged in.

The URL is in the Site Health class file on lines 2519 and 2628.

#5 @Presskopp
3 years ago

for me also 404, sorry I had to edit this post because I thought it was back, but it was a different page

Last edited 3 years ago by Presskopp (previous) (diff)

#6 in reply to: ↑ 3 ; follow-up: @audrasjb
3 years ago

Replying to SergeyBiryukov:

However, the Optimization page on HelpHub appears to be working again now. Looks like it was reinstated?

This page is currently a draft, so only user logged in as HelpHub editors can view its content. It goes to a 404 when you're not logged in :)

Last edited 3 years ago by audrasjb (previous) (diff)

#7 in reply to: ↑ 6 @SergeyBiryukov
3 years ago

Replying to audrasjb:

This page is currently a draft, so only user logged in as HelpHub editors can view its content.

Ah, indeed, that explains it. Thanks! :)

#8 @stevenlinx
3 years ago

I've restored the page.

See Doc Issue 872.

@SergeyBiryukov and @sabernhardt
Thanks for the ping.

#10 @audrasjb
3 years ago

  • Version 6.2.2

Ok, thanks!
If the URL is planned to be modified, it is not mandatory to wait for the next core release before updating but it would be nice to 1) redirect the old url; 2) keep this ticket open so we can update the url accordingly in the next release :)

#11 @sabernhardt
3 months ago

  • Keywords close added

The 404 errors seem to be fixed:

  • r57793 updated the links to the Advanced Administration handbook.
  • r58113 fixed the letter case in the #caching link.
  • r58332 added an autoloaded options test that directs to #autoloaded-options on the same handbook page.

#65477 still reports an incorrect anchor for object caching. Should this ticket be closed as 'works for me' now, or perhaps closed as fixed at the same time as #65477?

#12 @SergeyBiryukov
3 months ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 62538:

Site Health: Correct the anchor in object cache documentation link.

Follow-up to [57793], [58113], [58332].

Props jdy68, mohamedahamed, sabernhardt, jeffgreendesign, Presskopp, audrasjb, stevenlinx, JavierCasares, westonruter, SergeyBiryukov.
Fixes #65477, #58518.

#13 @SergeyBiryukov
3 months ago

  • Milestone Awaiting Review7.1
Note: See TracTickets for help on using tickets.