WordPress.org

Support

Support » Plugins and Hacks » Yoast SEO » Make WordPress SEO by Yoast Works with Buddypress – Duplicate titles

Make WordPress SEO by Yoast Works with Buddypress – Duplicate titles

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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?

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make WordPress SEO by Yoast Works with Buddypress – Duplicate titles’ is closed to new replies.
Skip to toolbar