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. https://stackoverflow.com/questions/1878657/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 :)

  • 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, 2013 at 16:37

1 Answer 1


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.

  • 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, 2011 at 21:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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