Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Our profile module apparenly does not return a 404 if there are no hits for a given URL.
https://drupal.org/profile/profile_interest/126315758
This leads to a lot of pages that used to exist like "people interested in certain pharmaceuticals" even if we blocked the offending profile pages long ago.
As a result of this, google has a lot of such lists in its index.
I believe the problem is in profile_browse() in profile.pages.inc
attached is a rough patch that should fix things.
I'd like to deploy this asap.
Comment | File | Size | Author |
---|---|---|---|
profile.patch | 2.08 KB | killes@www.drop.org | |
Comments
Comment #1
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedMoving to Drupal. for d.o we've disallowed these pages in robots.txt again.
Comment #2
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedattached patch is for D6
Comment #4
Gábor HojtsyUhm, don't think it applies to Drupal 8 does it?
Comment #6
sunEDIT: To clarify: There's no Profile module in D8. ;)