Opened 8 years ago
Closed 8 years ago
#7373 closed defect (bug) (fixed)
Member Types directory not available when Members is the front-page
Reported by: | slaFFik | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.3.0 |
Component: | Members | Keywords: | needs-patch |
Cc: |
Description
1) Create several member types (using Codex example: https://codex.buddypress.org/developer/member-types/)
2) Assign in wp-admin area some types to different users.
3) Make sure you have for example blog posts displayed on your home page - visiting member type URL like /members/type/students
will give you proper results.
4) Got to Settings -> Reading and make Members WP page as a home page
5) Now when visiting member types directory you will redirected to a home page. It's impossible now to open a member type directory page.
/type/students
returns 404 as expected.
If member dir is made a home page we should either:
1) make /type/students
URL work as a member type directory
2) regardless of what is set as a home page - always make /members/type/students
URL work as a member type directory.
@boonebgorges
As you are the author of most of the code regarding Member Types, will you be able to take a look at this?