Skip to:
Content
Pages
Categories
Search
Top
Bottom

Sitemap Breaks when I install Buddy Press

  • @tutakjj

    Participant

    When BuddyPress is installed our sitemap breaks and give this error:

    This page contains the following errors:
    error on line 2 at column 6: XML declaration allowed only at the start of the document

    Supposedly there is “whitespace” is some of the php files in BuddyPress that I need to delete to fix this but I have not found the magic spot.

    Anyone know?

Viewing 6 replies - 1 through 6 (of 6 total)
  • @henrywright

    Moderator

    Hi @tutakjj

    Do you have a link to the sitemap plugin you’re using?

    @tutakjj

    Participant

    Yes, thanks, it is the All in One SEO tool http://semperplugins.com/plugins/all-in-one-seo-pack-pro-version/

    @henrywright

    Moderator

    In this case you should contact the plugin author. Unfortunately, being a premium plugin, I can’t see the plugin’s code to try to help.

    @tutakjj

    Participant

    Thanks. I am have tried multiple sitemap plugins and they all give the same error when BuddyPress is active. If I disable BuddyPress the sitemap works fine. I am using WordPress SEO by Yoast at the moment, same deal. http://bphope.staging.wpengine.com/sitemap_index.xml

    @michaelhpdx

    Participant

    I just noticed this same problem with missing sitemaps on my site when upgrading to BuddyPress 2.2.1.

    It seems related to the problem with botched BuddyPress page titles I discussed in this post: https://buddypress.org/support/topic/buddypress-2-2-1-incompatible-with-yoast-seo-botched-page-titles/

    There must be a major new incompatibility between BuddyPress 2.2.x and Yoast WordPress SEO (plugin version 1.7.3.1) that REALLY needs to get fixed.

    Disabling WordPress SEO is not the solution to this problem. I will have to roll back my BuddyPress installation, which is a big pain the *ss. Not happy.

    Michael

    @michaelhpdx

    Participant

    And just when you think things are about to get worse…they get better. On a lark I went in and re-saved the Permalinks configuration on my site, and the Sitemaps appeared again. It looks like it is working.

    So a word to the wise, if you ever update BuddyPress and use WordPress SEO, be sure to check whether your sitemap is still working, whether the BuddyPress page titles are working, etc. If not, try and save your Permalink configuration (under Dashboard->Settings->Permalinks).

    Michael

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sitemap Breaks when I install Buddy Press’ is closed to new replies.
Skip to toolbar