BP Rewrites

BP Rewrites Install Statistics

11
100%
Today: 11 Yesterday: 0 All-time: 7,063 downloads
BP Rewrites Icon

Try plugin: BP Rewrites

We'll create fresh WordPress site with BP Rewrites installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About BP Rewrites

The BP Rewrites plugin is a BuddyPress add-on giving you the full control of any BuddyPress generated URLs.

1


0


0


0


1

updated: 1 year ago
since: 2 years ago

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!