Opened 9 years ago
Closed 8 years ago
#31438 closed defect (bug) (duplicate)
Endpoints for front page return 404
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.1.1 |
Component: | Rewrite Rules | Keywords: | |
Focuses: | Cc: |
Description
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.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Related: #23867