[buddypress-trac] [BuddyPress] #5199: Setting register page as static front page results in duplicate content

buddypress-trac noreply at wordpress.org
Thu Oct 17 16:04:42 UTC 2013


#5199: Setting register page as static front page results in duplicate content
-------------------------------------+------------------------------
 Reporter:  henrywright              |       Owner:  boonebgorges
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Core                     |     Version:  1.8.1
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7437"]:
 {{{
 #!CommitTicketReference repository="" revision="7437"
 Canonical URL detection should be sensitive to page_on_front

 When a BP directory is set to page_on_front, it should no longer be
 accessible
 at the regular directory URL (to avoid duplicate URLs for the same
 content).

 A special exception is required for the Register page. Because BP blocks
 access
 to Register for logged-in users, the canonical redirect for Register when
 viewed by a logged-in user must be something other than the front page. As
 in
 bp_core_screen_signup(), we use the Members directory in this case (a page
 we
 can be reasonably sure will always be present).

 Fixes #5199
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5199#comment:8>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list