Yoast SEO
Make WordPress SEO by Yoast Works with Buddypress - Duplicate titles (3 posts)

  1. aidecms
    Posted 3 years ago #

    Hello, I installed the latest WordPress SEO by Yoast plugin, and I have duplicate meta's titles on buddypress pages...

    Is someone knows how could I make the plugin run with buddypress or avoid duplicate, or block the meta's title rewritting process on buddypress pages only ?

    I found this thread : http://bp-tricks.com/coding/making-buddypress-compatible-with-the-wordpress-seo-plugin-from-yoast/

    and this one also : http://wp-pompey.org.uk/2011/10/27/bp-and-wordpress-seo-titles/

    But the trick seems not works, I still have duplicate titles on these specifics pages for exemples


    All have the same following meta's title : ” Groups – %Mywebsitename%”

    Thank you very much for your help !


  2. alen9788
    Posted 3 years ago #

    i have the same problem.

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

    <title><?php bp_page_title() ?></title>
    And replace it with the following snippet:

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

    BUT I CAN'T FIND THE CODE <title><?php bp_page_title() ?></title>,who can help?

  3. johnjf
    Posted 3 years ago #

    I think if you created your own child theme and you can't find the <title> tag then all you have to do is just instert your code above just below the <head> tag

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic