Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 13 months ago

#50192 closed defect (bug) (duplicate)

Incorrect link rel="canonical" tag

Reported by: olegonru's profile olegon.ru Owned by:
Milestone: Priority: normal
Severity: major Version: 5.4.1
Component: Canonical Keywords:
Focuses: Cc:

Description

Tryed to open https://inima.org/schaste
<link rel="canonical" href="https://inima.org/schaste" />
it's correct, very well

Tryed to open https://inima.org/schaste/1
HTTP/2 301
location: https://inima.org/schaste
very good

Tryed to open https://inima.org/schaste/11
Opened! The content of https://inima.org/schaste
BUT!
<link rel="canonical" href="https://inima.org/schaste/11" />

It's very bad idea! Google and Yandex, at least, can filter this site for spam and garbage.

Change History (1)

#1 @SergeyBiryukov
5 years ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome to WordPress Trac!

Thanks for the report, this is already fixed for WordPress 5.5 in [47727] / #40773.

Note: See TracTickets for help on using tickets.