fmorote / owaspantisamy

Automatically exported from code.google.com/p/owaspantisamy
0 stars 0 forks source link

Provide options for "nofollow" on <a href> tags. #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have a situation where links posted by users have an equal chance of being 
internal to my site as they are external.

It would be really nice if I can apply the "nofollow" directive on external 
links only...

Original issue reported on code.google.com by husseini...@gmail.com on 15 Jun 2011 at 5:05

GoogleCodeExporter commented 9 years ago
I'm just wondering, would this be really difficult to implement? I don't know 
Java, I can try and learn the necessary stuff to write a patch; that is, if 
it's a matter of modifying one function.

Just guessing here, but wouldn't be be a case of add a condition to the 
"nofollow" function? If a certain regex is matched, don't add the no-follow, 
otherwise add it...

Original comment by husseini...@gmail.com on 24 Jul 2011 at 12:23

GoogleCodeExporter commented 9 years ago
Are you sure this would be a strong benefit? I don't think sites that sites 
linking to themselves influences SEO much. I would look at a patch for this if 
it was optional and not intrusive to that existing policy file but I'm not 
sensing enough tangible benefit to undertake this myself.

Original comment by arshan.d...@gmail.com on 14 Sep 2011 at 6:36