Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure links to external websites contain rel="nofollow" #27

dhedlund opened this issue Aug 2, 2013 · 0 comments

Ensure links to external websites contain rel="nofollow" #27

dhedlund opened this issue Aug 2, 2013 · 0 comments


Copy link

@dhedlund dhedlund commented Aug 2, 2013

This ticket should follow or be done at the same time as issue #25. When someone adds a link to one of the following fields, those links should get the rel="nofollow" property added to them:

  • Event#url
  • Event#description
  • Event#venue_details
  • Venue#url
  • Venue#description
  • Venue#access_notes
  • Source#url

This should be done server-side as the primary user of this information is search engines; we want to discourage the site from being used to increase another site's pagerank via spamming. See:

The easiest solution I can find involves using Nokogiri to parse the XHTML and then add the property to each link. See the following for an example:

There's only one field I can think of where we might not want to add the rel="nofollow" property to which is Organization#url. It would be nice for search engines to pick up the relationship ActivateHub and the organizations we try and help serve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.