[wp-trac] [WordPress Trac] #31438: Endpoints for front page return 404
WordPress Trac
noreply at wordpress.org
Tue Feb 24 20:35:03 UTC 2015
#31438: Endpoints for front page return 404
---------------------------+-----------------------------
Reporter: sccr410 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version: 4.1.1
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
When creating a new endpoint rewrite rule, assigning a page as the Front
Page, the end points for the front page return a 404.
Example:
{{{
add_rewrite_endpoint( 'endpointname', EP_PERMALINK | EP_PAGES );
}}}
Create a page, call it Test which normally use a URL like
www.domain.com/test
Make Test the Front Page.
If visiting a URL like: www.domain.com/endpointname/whatever - this
returns a 404. This should load the home page with the endpoint rewrite
rules in place.
If visiting www.domain.com/test/endpointname/whatever it works fine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31438>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list