[wp-trac] [WordPress Trac] #44105: Permalink Issue while the page should be 404
WordPress Trac
noreply at wordpress.org
Wed May 16 07:58:27 UTC 2018
#44105: Permalink Issue while the page should be 404
--------------------------+-----------------------------
Reporter: sasiddiqui | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 4.9.5
Severity: critical | Keywords:
Focuses: |
--------------------------+-----------------------------
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:
https://dev-wordpress-core.pantheonsite.io/testing-post/
It works fine. But when i append a numeric keywords at the end of
permalinks as mentioned below:
1. https://dev-wordpress-core.pantheonsite.io/testing-post/1000/
2. https://dev-wordpress-core.pantheonsite.io/testing-post/100000000000/
3. https://dev-wordpress-core.pantheonsite.io/testing-post/719/
In these cases, page should return 404 but it's not happening. It's
returning 200 with the duplicate content of https://dev-wordpress-
core.pantheonsite.io/testing-post/
Whereas if there is any alphabetic keyword then it returns the 404 as
expected. Like:
1. https://dev-wordpress-core.pantheonsite.io/testing-post/a/
2. https://dev-wordpress-core.pantheonsite.io/testing-post/1000000a/
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44105>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list