Googlebot keeps trying to sign up to my site using this button. Is there anything I can do to stop it?

CommentFileSizeAuthor
#4 fboauth_nofollow-1785268.patch711 bytesquicksketch

Comments

nagiek’s picture

Like this?

function theme_fboauth_action__connect($variables) {
  ..
  $link['attributes']['rel'] = 'noindex, nofollow';
quicksketch’s picture

Title: Robots.txt entry? » Add nofollow to Facebook OAuth buttons/links
Category: bug » feature

Thanks this is a great suggestion. I think just rel="nofollow" has been standardized upon for the most part (certainly for Google). I'm not so sure about noindex.

asistentweb’s picture

Thank you.

I just added "nofollow" :) had this issue for about 4 months and never had time to look into it.

quicksketch’s picture

Priority: Normal » Minor
Status: Active » Fixed
StatusFileSize
new711 bytes

Thanks guys. I've committed this patch which adds nofollow to the connect links by default.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.