FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

need php script to test if domain is Blacklisted

 


bgillingham
Can anyone write a bit of php script that will determine whether or not a domain is blacklisted? I need to test a huge list of domain names that I have links to on my site, but I can't be linking to blacklisted domains, right?!

I guess that blacklisted means "Blacklist Status" according to www.whois.sc or a similar service.

Is this the reason for the google dance? Google gives sites really low scores that have a lot of links to spam sites. I never had the forsight to test them before.

Any help is much appreciated!
bgillingham
well, I found a way to code the html so that blacklisted content doesn't really matter or effect your page ranking --- I though that I would share what I learned about this.

If you add the rel="nofollow" to any link, it will keep you from getting any penalty - yet be able to keep all of your links published.

So, for an example:
you have a link to any potential blacklisted domain:
Code:
 <a href='http://BlacklistDomain.com'>BlacklistDomain.com</a>

replace code above with
Code:
 <a href="http://BlacklistDomain.com" rel="nofollow">BlacklistDomain.com</a>
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.