[wp-trac] [WordPress Trac] #38182: rest_url does not support index permalinks

WordPress Trac noreply at wordpress.org
Wed Sep 28 20:21:07 UTC 2016


#38182: rest_url does not support index permalinks
--------------------------+-----------------------------
 Reporter:  kraftbj       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  REST API      |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 WordPress has a little known third permalink style -- index permalinks.
 These are `example.com/index.php/2016/03/example-post/` style permalinks
 for sites that can not enable mod_rewrite for whatever reason.

 When using index permalinks, the rest_url function returns `example.com
 /wp-json/` which will 404 on these sites.

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


More information about the wp-trac mailing list