Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

    Participant

    error dissapear when I remove this code, but I need the code for friendly user profiles.

    /** DOMAIN.COM/USERNAME ENABLE IN URL */
    define ( 'BP_ENABLE_ROOT_PROFILES', false );

    @arutam

    Participant

    I think you can use CSS and display:none; as well

    @arutam

    Participant

    @aaronthomas1979 thanks for the answer.

    In fact, I did not find any solution therefore I decided to upload the xml file to the root (with “activity” urls).

    Surprisingly, when I requested a search from Google WMT after uploaded the xml file, It shows me that /activity/ url are blocked. That means, GWMT check robot.txt tool was right and the XML generator (xml-sitemaps.com) has something working incorrectly.

    Solved!

    @arutam

    Participant

    Hi @mattrea

    Thanks for the code.

    I am trying to disallow the “activity” url.

    I tried any combination:

    Disallow: */activity/*
    Disallow: /activity/
    Disallow: /*/activity
    Disallow: /activity

    But When I generate the xlm file , it recover the activity url from users:

    Ex: https://www.mydomain.com/username/activity/282/

    I copied that url and paste into Search Console to check if its “Allow” or “Disallow” and give me “Disallow” , so the question is… why the xlm generator got those urls?

    Any advice?

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar