Reply to Re: Adding nofollow tag to all my <a href='...'>

Your name:

Reply:


Posted by Bert Schulze on 06/28/07 12:04

On 28 Jun., 07:20, FFMG <FFMG.2sv...@no-mx.httppoint.com> wrote:
> Hi,
>
> I run a blog hosting site and it is a fairly small community easy
> enough to police.
> But some spammers still find ways to get in.
>
> What I was thinking is adding nofollow tags to their links until they
> reach a certain amount of posts, (or until I've had time to review
> their account).
>
> Would you have a piece of code to allow me to add the no follow tag to
> <a href='....'>?

a nofollow tag would look like this:
<a href='somewhat' rel='nofollow'>somewhere</a>

// function to use for any string containing hrefs
//
function nofollow($str) {
return = preg_replac("/<a href='(.*?)'>(.*?)<\/a>/", "/<a href='$1'
rel='nofollow'>$2<\/a>/", $str);
}

--begin-quote http://old.nonofollow.net
11 Reasons against nofollow

1. nofollow does not prevent comment spam
2. nofollow is confusingly named
3. nofollow harms the connections between web sites
4. nofollow is not useful for humans, just for search engines using
PageRank or a similar technique
5. nofollow could be used to shut web sites out
6. nofollow discriminates legitimate users as spammers
7. nofollow heists commentators' earned attention
8. nofollow could be used to further discriminate weblogs
9. nofollow prevents the Web from being a web
10. nofollow eliminates the dissemination of free speech
11. nofollow was developed in privacy with only search engines
companies taking part in the discussion
--end-quote

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация