Skip to:
Content
Pages
Categories
Search
Top
Bottom

Where can I delete Buddypress URLs?

  • @thezanyprogressive

    Participant

    I had an issue when installing Buddypress for the third time recently, with the URLs of pages ending in “-2” so activity-2. I couldn’t figure out why since there were no actual pages with the titles. When I was in my menus and I opened the Buddypress Directories tab, that’s when I saw it. There were three Activity pages and multiple members options as well. I searched for where the URLs were stored and found they were in the Options table of the database. I found nothing there. In Buddypress Pages there were only one of each: Activity, Members and something else.

    I’m assuming the extra pages are leftovers from prior installations. Where do I go to delete the extra directory pages?

    buddypress version: 14.3.4
    Wordpress: 6.8.2
    Website: https://antifahq.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • @emaralive

    Moderator

    For the following items, there will either be URLs or Pages:

    • Activate
    • Activity
    • Groups
    • Members
    • Register

    The default when installing or upgrading to BuddyPress versions of 12 or greater is URLs. In order to change to Pages, the BP Classic add-on (plugin) should be installed and/or activated.

    Most likely, the reason for the -2 for the Activity Directory slug in URLs is that there is a Page with the title of “Activity” and a slug with a name of “activity” which should be visible within the WP Pages area. The indicated items are WP posts that will either have a post type of “buddypress” (indicates URLs) or a post type of “page” (indicating Pages). Meaning they should all be of same post type, not a mixture of both nor duplicates,

    Installing and/or activating the BP Classic add-on should revert all the previously indicated items to Pages and then you should be able to remove (trash) any duplicate Pages within the WP Pages area. You can the keep things as Pages or deactivate the BP Classic add-on to revert to the default of URLs.

    @thezanyprogressive

    Participant

    Thank you so much for your help! I was referencing the database because no pages existed with the titles to warrant the “-2” addition. And in menus, when I open Buddypress Directories, there are 3 Activity items and 3 Member directories with titles I used in previous installations(Members, Member Directory, Members Directory, etc.) I wanted to know where the plugin pulls the URLS from so I could remove all of the old entries. Using the BP Classic plugin won’t help since they’re all from the URL version of Buddypress. I also was confused about how I can set the sidebar on the Buddypress pages being that they are dynamically generated.

    Any other ideas about where the plugin is getting the URLs from prior installations?

    @emaralive

    Moderator

    The URLs come from the WP Posts table in the database. In your db client, you can query/search the “post_type” field/column with a value of “buddypress” (without the quotes) and the results should be all the entries that are associated with URLs/Directories.

    @thezanyprogressive

    Participant

    I found the extra pages in the Posts table of the database and removed them. Prior to that I installed the bo-classic plugin, but the pages didn’t show up in my pages list so the database was what I needed.

    Thank you to everyone who helped!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar