Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#44105 closed defect (bug) (duplicate)

Permalink Issue while the page should be 404

Reported by: sasiddiqui's profile sasiddiqui Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.5
Component: Canonical Keywords:
Focuses: Cc:


I have Fresh installed WordPress with the Latest version. I have created a post let's say with the name of "Testing Post" and the URL of the post is:

It works fine. But when i append a numeric keywords at the end of permalinks as mentioned below:


In these cases, page should return 404 but it's not happening. It's returning 200 with the duplicate content of

Whereas if there is any alphabetic keyword then it returns the 404 as expected. Like:


Permalink setting is set to "Post name". There is no plugin installed and Twenty Seventeen Theme is used to check this issue.

It is a critical issue as Google starts reporting the duplicate content on the pages.

Change History (3)

#1 @swissspidy
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Severity changed from critical to normal
  • Status changed from new to closed

Hi there

Thanks for the report! We're already tracking this issue in #28081.

#2 @sasiddiqui
5 years ago

@swissspidy Thanks for your response.. Can you tell me from which WordPress Version this issue was reported/started?

#3 @swissspidy
5 years ago

  • Component changed from Permalinks to Canonical

As you can see when clicking on that ticket, it was reported 4 years ago and is currently slated for the 5.0 release.

The latest patch there needs some testing and ideally unit test before it will make it into a release though.

There hasn't been much traction on the ticket lately, so it would be great if you've got time to help out by testing patches or even contributing some tests.

Note: See TracTickets for help on using tickets.