homepage Welcome to WebmasterWorld Guest from 54.237.184.242
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Marketing and Biz Dev / Cloaking
Forum Library, Charter, Moderator: open

Cloaking Forum

    
Using php script to cloak links
is it ok to use php script to cloak a link
john127




msg:677171
 1:32 pm on Jul 23, 2005 (gmt 0)

Hi,

I have done some searches and could not find an answer on this. I have found a simple php script that passes on a link call to the target destination. Then the robots.txt file is setup so that search engines are instructed not to follow links out from this script.

Is this a safe way of preventing PR leakage to those links? Or will it be seen as cloaking and invoke a penalty?

I ask as i have a site where most pages have affiliate links. I do also offer extra information such that i hope my site wouldn't be deemed as an thin affiliate! I believe i noticed a drop in ranking since i put these links in and wanted to reverse this if possible! I give them the business so it's not like it's unethical and i obviously don't get a reciprical link back.

Any advice would be great, cheers.

 

volatilegx




msg:677172
 5:03 pm on Jul 25, 2005 (gmt 0)

Doing this definitely isn't cloaking. I doubt you are being penalized for this. However, wouldn't a rel="nofollow" attribute on the links be easier?

Friday




msg:677173
 11:12 pm on Aug 3, 2005 (gmt 0)

I have a client who refuses to remove all of his (excessive) outgoing links (He's more concerned with making affiliate $'s than he is in selling his own products. (Yet he constantly whines about _MY_ inability to increase sales for him!)

My main concern is that all of those outgoing links will hurt his PR -- especially if they're low-PR or banned/penalized sites.

(Never mind the fact that he's sending prospective buyers away from his site before he even gets a chance to give his sales pitch! Geez!)

So... to eliminate the first problem ("potential" PR penalties) I cloak-out the outgoing links so S.E. spiders can't see/count them. This particular script is written in PHP,

I do it like this:

TOP OF PAGE:
<?
// include the cloaking function
require_once('/full/path/to/cloaking/script/IsSpider.php');
?>

FOR EACH LINK ON THE PAGE(s):

<P> Visit our sponsor</P>
<P>

<?
if IsSpider() {
print "Lose Weight! Grow Hair!";
}else{
print "<A href=\"http://www.fat-n-hairy.com/\">Lose Weight! Grow Hair!</a>";
}
?>

</P>

etc., etc....

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Marketing and Biz Dev / Cloaking
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved