[wp-trac] [WordPress Trac] #54387: trailing slash in the url /wp-json

WordPress Trac noreply at wordpress.org
Sat Nov 6 16:27:27 UTC 2021


#54387: trailing slash in the url /wp-json
---------------------------+-----------------------------
 Reporter:  superpoincare  |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  5.8.1
 Severity:  minor          |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 The url with `wp-json` doesn't redirect one to another.

 Won't it be better if there's a unique url, with one with/without trailing
 slash permanent.

 For example:

 `https://www.example.com/wp-json` and
 `https://www.example.com/wp-json/`

 are different addresses whereas one should redirect to the other (?).

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


More information about the wp-trac mailing list