[wp-trac] [WordPress Trac] #29598: Use a 404 page not found instead of redirecting

WordPress Trac noreply at wordpress.org
Tue Sep 9 10:54:05 UTC 2014


#29598: Use a 404 page not found instead of redirecting
--------------------------+-----------------------------
 Reporter:  henry.wright  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.0
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I have my permalinks set to post ID so I can access my posts like:

 - example.com/625/
 - example.com/76/

 The title of one of my posts is "Post of the year award". I can access
 this particular post like:

 - example.com/118/

 '''The problem:'''

 If a user types the URL {{{example.com/post/}}}, they seem to be
 redirected to "Post of the year award" {{{example.com/118/}}}.

 Likewise, if a user types URL {{{example.com/baseball/}}}, they seem to be
 redirected to "Baseball is for everyone" {{{example.com/128/}}}.

 As you can see this behaviour is not really helpful in my case. The user
 ends up viewing a post they might not necessarily want to be viewing.

 I propose that 404 Not found pages be used instead of the redirects.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29598>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list