The WordPress SEO plugin from Yoast is pretty much the only SEO solution you need for your WordPress site. It has become a default plugin in all my WordPress and BuddyPress projects. The only issue is that the plugin hooks into the common wp_title template tag to rewrite your site URLs to a custom title (that you specify from the WordPress SEO settings). BuddyPress does not use this tag, and thus the URL rewriting does not work. Below is a quick snippet that will fix this problem for you.

Find the following code in header.php of your Child Theme (around line 9):

Build Better BuddyPress Communities

Bi-weekly curated BuddyPress news, the best community building tips from industry leaders and exclusive offers delivered straight to your inbox.

[php]<title><?php bp_page_title() ?></title>[/php]

And replace it with the following snippet:

[php] <?php if(!bp_is_blog_page()){ ?>
<title><?php bp_page_title() ?></title>
<?php } else { ?>
<title><?php wp_title(”) ?></title>
<?php } ?>

WordPress SEO is now working as it should. Enjoy!

Lightning fast managed hosting, rock-solid security and expert support for your Social Network, Membership Site, Learning Management System or anything in between.


Thanks to our CommunityCaching technology WordPress communities hosted on the WeFoster Platform are on average up to 6x faster than when hosted on a traditional webhost.


WeFoster lets you relax and focus on building your community, whilst our experts take care of protecting your site from hackers and other security threats.


Our next-generation container technology can even handle the biggest traffic spikes. With no limit on pageviews and our grow-as-you-go pricing plans you’ll never be punished for making your community a success.


WeFoster is also a free network of community site experts, builders, managers and enthusiasts. Get inspired, get answers, get connected and grow your community.

Leave a Reply

Your email address will not be published. Required fields are marked *