Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#50192 closed defect (bug) (duplicate)

Incorrect link rel="canonical" tag

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

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
6 years ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → 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.