Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to have hyperlinks on my page that will look something like:

<a href="/someurl" rel="prettyPhoto[main] nofollow">Link</a>

So basically the rel attribute has two values.

I know it is valid HTML (e.g. Multiple values for rel attribute), but my question is specifically about whether search engines will understand it.

I would hate it when SE's index stupid json strings on my site :)

share|improve this question

migrated from stackoverflow.com Sep 28 '11 at 10:40

This question came from our site for professional and enthusiast programmers.

I'm not entirely sure Google recognise author and nofollow when used together. Perhaps someone can expand on this if they know more? – user31756 Oct 4 '13 at 16:37
up vote 7 down vote accepted

Yes, they can still read it. See example at this link

With rel="me nofollow", Google will continue to treat the rel="nofollow" as expected for search purposes, such as not transferring PageRank.

share|improve this answer
Looks to be the case indeed. Although they kinda say specifically with me. But I think you're right and SE's will just use all the values of the attribute. – PeeHaa Sep 27 '11 at 21:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.