Home >
Paid Traffic Sources >
Facebook & Instagram
Cloaking Redirect or Masking? (9)
08-03-2017 09:56 AM
#1
reversedemo (Member)
Cloaking Redirect or Masking?
Hello, I am trying to research about the safest way to cloak my link and promote it on facebook.
My question is: is it safer to upload a php file to server, which decides where to send visitors to money page or to safe page (I usually use safe page from google) , OR to paste a javascript code on safe page, and if real person visits website, it gets redirected to money page page on the same domain name, and if bot visits safe page, it just stays on the same page?
I think that the first option is much more dangerous, because facebook might notice redirection, and on the second option everything is happening on the same domain name. What do you think guys?
P.S I am using fraudfilter
08-03-2017 10:08 AM
#2
polarbacon (Moderator)
Both of these ultimately redirect....with the js being slightly more secure....remember fb is mostly mobile these days, and they own the browser you open links in...so its highly possible they could see that redirect happen on the js page if they wanted....
08-03-2017 10:09 AM
#3
manu_adefy (Veteran Member)
Whatever relies on client side (JavaScript) is worse than server side (PHP in this case) if both are done properly.
What you actually want to do is not redirect but render the content based on the visitor.
08-03-2017 11:18 AM
#4
reversedemo (Member)

Originally Posted by
manu_adefy
Whatever relies on client side (JavaScript) is worse than server side (PHP in this case) if both are done properly.
What you actually want to do is not redirect but render the content based on the visitor.
So you are saying that PHP is more secure? Can you tell me more about rendering content? I don't get the idea, maybe because I am not very tech-savvy person.
08-03-2017 11:47 AM
#5
manu_adefy (Veteran Member)

Originally Posted by
reversedemo
So you are saying that PHP is more secure? Can you tell me more about rendering content? I don't get the idea, maybe because I am not very tech-savvy person.
Yes, PHP is not seen by the client so it's more secure for this purpose, especially when it comes to rendering content instead of redirecting.
By rendering content I mean that you serve the safe page or the money page under the exact same URL - and it technically is the same page, just that the server decides to show something else based on the user's characteristics.
Just like you can show certain characteristics like location, device type, IP through PHP or another server side language, you can show a completely different page.
08-03-2017 12:15 PM
#6
reversedemo (Member)

Originally Posted by
manu_adefy
Yes, PHP is not seen by the client so it's more secure for this purpose, especially when it comes to rendering content instead of redirecting.
By rendering content I mean that you serve the safe page or the money page under the exact same URL - and it technically is the same page, just that the server decides to show something else based on the user's characteristics.
Just like you can show certain characteristics like location, device type, IP through PHP or another server side language, you can show a completely different page.
By saying URL you mean domain, right? Because in my opinion the part that will change will be folders after domain www. mypage.com/safe-page/ or www. mypage.com/money-page/, and php file is going to be placed in www. mypage.com/index.php
08-03-2017 12:19 PM
#7
manu_adefy (Veteran Member)
Your index.php file can show either of the safe-page or money-page, while still being www.mypage.com/index.php.
In other words, I mean URL, not domain 
08-03-2017 12:33 PM
#8
reversedemo (Member)
It is clear now, thank you guys!
08-03-2017 12:40 PM
#9
manu_adefy (Veteran Member)

Originally Posted by
reversedemo
It is clear now, thank you guys!
No problem.
Home >
Paid Traffic Sources >
Facebook & Instagram