YACG + Cloaking

ph4dge

Registered Member
Joined
Feb 7, 2007
Messages
53
Reaction score
28
Has anyone had any luck getting the cloaking to work with YACG?
The YACG forums really arn't as helpful as I'd hoped.

I've just added my own cloaking script to the index and it seems to work fine, so this is more out of curiosity
 
I haven't tried cloaking with YACG.

what a helpful reply!!

ph4dge said:
Has anyone had any luck getting the cloaking to work with YACG?
The YACG forums really arn't as helpful as I'd hoped.

I've just added my own cloaking script to the index and it seems to work fine, so this is more out of curiosity

I don't know why you think yacg forum aren't helpful, but I found 11 thread about cloaking there, just use search...
 
did that, found it extremly hard to follow...doesn't matter that much now. I have it working really well with my own code
 
Hi does your cloaking involve change these files:

1 - index.php [homepage]
7 - page.php [innerpages]
1 - contact-us.php [contactpage]
1 - sitemap.php [sitemappage]

If so would you like to share part of how you manage to cloak them. thanks
 
Sorry took me so long to post on this...

All I did for cloaking was to add

PHP:
<?php include "cloakingCode.php"; ?>

to the very top of index.php from YACG this code just includes my cloaking code in a seperate file, browser checks this first.

If the request is coming from a search engine (based on IP) it loads the rest of the YACG content on the site. If request is from an IP not in my list viewer gets redirected to my sales page.

I'm the first to admit I leave alot to be desired as a coder but it seems to work ok, done a fair amount of testing.

Thats all I did and seems to be fine, getting indexed no prob in google.
 
Back
Top