[buddypress-trac] [BuddyPress Trac] #7465: Groups still can't have the same slugs as pages/posts

buddypress-trac noreply at wordpress.org
Fri Mar 10 09:57:48 UTC 2017


#7465: Groups still can't have the same slugs as pages/posts
--------------------------+-----------------------------
 Reporter:  matcho        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 This is a follow-up to #2123.

 Hi,

 A little topic excavation here :)
 Even though it could not be reproduced back in the days, the bug is still
 here.

 == Walkthrough ==
  * created a group named `interesting-stuff`
  * created a page named "Interesting stuff", having the URL `/interesting-
 stuff`
  * created a subpage of `/foo` named "Interesting stuff", having the URL
 `/foo/interesting-stuff`

 == The problem ==
  * visit `/interesting-stuff` : OK
  * visit `/foo/interesting-stuff` : OK
  * visit `/groups/interesting-stuff` : redirects to `/interesting-stuff`

 WP generates a 301 redirection in this case.

 Other groups are accessible as expected, and non-existing groups whose
 slug doesn't correspond to any WP page give a 404.

 I didn't try using posts instead of pages as it is not my use case.

 Thanks a lot for any advice,
 Greetings,

 Mathias

 (WP 4.7.3, BP 2.8.1, theme Twentysixteen)

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7465>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list