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.

CommentFileSizeAuthor
profile.patch2.08 KBkilles@www.drop.org
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

killes@www.drop.org’s picture

Project: Drupal.org site moderators »
Component: Content moderation » Code

Moving to Drupal. for d.o we've disallowed these pages in robots.txt again.

killes@www.drop.org’s picture

Project: » Drupal core
Version: » 8.x-dev
Component: Code » profile.module
Status: Needs review » Needs work

attached patch is for D6

Gábor Hojtsy’s picture

Uhm, don't think it applies to Drupal 8 does it?

sun’s picture

Version: 8.x-dev » 7.x-dev

EDIT: To clarify: There's no Profile module in D8. ;)