No results available
ResetNew Feature: Earn 12 Badges
Collect up to 12 exclusive badges by sharing your plugin collections and engaging with the community.
See all BadgesBP Rewrites
by The BuddyPress Community
Description
Get involved into building the BuddyPress’ next way of parsing URLs!
BP Rewrites is a BuddyPress feature as a plugin which end goal is to be merged with BuddyPress Core. It’s being developed and maintained by the official BuddyPress development team. As migrating the BP Legacy URL parser to using the WP Rewrites API is potentially a breaking change for some BuddyPress plugins and themes, the BuddyPress team needs the BuddyPress users, contributors & developers to massively test this feature before safely including it into BuddyPress Core.
Please help us meeting this challenge by testing the BP Rewrites plugin with your specific configurations (Plugins, theme, bp-custom.php file, constants).
Benefits about using the WP Rewrite API
All BuddyPress generated URLs are customizable.
BuddyPress is fully compatible with plain URL permalinks.
Parsing BuddyPress URLs is faster, more reliable, extensible, testable and fully compliant with WordPress best practices.
PS: combined with BuddyPress 11.0, the BP Rewrites plugin is also adding a new BuddyPress Settings option to restrict the BuddyPress generated pages (aka the community area of your site) to your members only.
How BP Rewrites changes BuddyPress’ behavior?
Once activated, The plugin is editing the post type of the existing BuddyPress pages in favor of the
buddypress
post type. That’s why you don’t see the BuddyPress pages anymore (as long as the BP Rewrites plugin is active) into the corresponding WordPress Administation edit screen. The BuddyPress Pages settings screen is replaced by a BuddyPress URLs settings screen (see the screenshot below). This new screen is where you can define custom slugs which will be saved as a post meta of the corresponding
buddypress
post type item. Then the BP Rewrites plugin is taking benefit from BuddyPress hooks/APIs to change BP Core’s behavior.
If you notice one of your BuddyPress plugins or your theme are not behaving the way they should, please temporarly define the
WP_DEBUG
constant to
true
into the
wp-config.php
file of your website. You should see some warning notices confirming there’s an issue involving changes introduced by the BP Rewrites add-on. You can tell us about it using this plugin’s support forum or best submitting an issue into the GitHub repository of the plugin.
How to get regular BuddyPress’ behavior back?
Simply deactivate BP Rewrites. When you deactivate the plugin, the
buddypress
post type’s items are switched back to regular pages and you get them back into the corresponding WordPress Administation edit screen. Post metas are still there in case you want to activate BP Rewrites again (this can happen when you’re testing another BuddyPress plugin). If you absolutely want to get rid of these post metas, you can delete the BuddyPress pages, create new ones and redo the page mapping from the BuddyPress Pages settings screen.
Join our community
If you’re interested in contributing to BuddyPress, we’d love to have you. Head over to the BuddyPress Documentation site to find out how you can pitch in.
Growing the BuddyPress community means better software for everyone!
All texts and images on this product page are protected by copyright and are the property of the author The BuddyPress Community. You will be redirected to the retailer to download the plugin. We act solely as a search engine for plugins and are not affiliated with the retailer or The BuddyPress Community.
Get your first Badge
Earn your first badge by sharing your collections. Every master was once a beginner. Welcome to your coding journey.
Click the symbol on the desired plugin to create a collection. The symbol appears when you hover over the plugin.