Cloaking

Post Reply
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Cloaking

Post by happydg »

Hello,

I would import a video url and its embed from a tube site ( for example xhamster.com )

I would like a thumb link goes to external tube video link for the visitors but to my own site embed template for search engines ( google ).

Is there a way to do this?

Thank you.
admin
Site Admin
Posts: 37247
Joined: Wed Sep 10, 2008 11:43 am

Re: Cloaking

Post by admin »

Hi !

Well, there's no build-in functionality like that but you can create it on your own

usually if a gallery has an embedded code - it shows a gallery with the code
if you;d like the script to sent traffic to source_ruk you have to add

$_GET['send_to_source'] = true

to any link

so what you have to do is

1. let's say add a cookie save that a visitor came from a SE
2. on click add to common.php

if (user_from_SE) {
$_GET['send_to_source'] = true;
}
Don't forget to run script update
Post Reply