Can you cloak a link that is a redirect?

scurvysauce

Newbie
Joined
Dec 23, 2013
Messages
23
Reaction score
1
Is it possible to cloak an affiliate link that is already a redirect? I know how to cloak a link on a website but I want the domain to go directly to the affiliate, but remain on the same domain. Example: dietpills redirects to affiliate id website but stays on dietpills

there is nothing on dietpills , it is just a redirect to the affiliate offer.

if this won't work i could just iframe the dietpills site but would rather do it this way.
 
If I understand you correctly, I think that you can do it with cURL. Try this
 
iframe is easy to break, any serious affiliate page have iframe breaker. curl is more effective.
 
Thanks, i'll check out curl and hopefully i can get it working.
 
CURL is a tad over my head at the moment, is there a way to make a landing page come up on my main site that stays for say 3 seconds but then redirects to the offer automatically, or even better a link that just pops up for a split second that redirects to the offer without the user having to click on it? that way i can cloak the link in wordpress.
 
I only have limited exposure to cURL, but I'd be surprised/impressed if it's possible. This type of redirect is an internal redirect, and as the name implies, this must happen within the server itself.

In order for a visitor to be redirected to a different page while still seeing the original URL, you must define the rule set in your server's .htaccess file. Once defined, apache will catch any matching URLs and automatically display a different page it finds within the same server.

Obviously, if you're redirecting to an external webpage, such a redirect can not occur. Using an iframe would be the only other option as far as I'm aware.

CURL is a tad over my head at the moment, is there a way to make a landing page come up on my main site that stays for say 3 seconds but then redirects to the offer automatically, or even better a link that just pops up for a split second that redirects to the offer without the user having to click on it? that way i can cloak the link in wordpress.

It sounds like you're describing a meta refresh here. Where a user is sent to a page, then there is a delay of x seconds, before a redirect. Usually, sites that use the meta display a message like "you will be redirected in x seconds." If you want an instant redirect, just use a standard .htaccess redirect.
 
Last edited:
ok, just for fun I made amazon and ebay to show on my test domain. Reloading will randomly rotate 3 links.

Code:
http://latamcam.com/curl-thing.php
 
ok, just for fun I made amazon and ebay to show on my test domain. Reloading will randomly rotate 3 links.

Code:
http://latamcam.com/curl-thing.php
I have not used your script in a while, did you do this on your test domain with your "Cloaker Script 2013" script? Or could please share the script you used to do this please? If not in public maybe in a PM.
 
yes, with that script. when you open the file you will find the options to enable or disable certain functions.
 
ok, just for fun I made amazon and ebay to show on my test domain. Reloading will randomly rotate 3 links.

Code:
http://latamcam.com/curl-thing.php

I was mistaken then. That's pretty cool! Will need to save this for later in case I need it :)
 
iframe is more useful to break,it loads the real page from your website.
 
I found an example of what i'm trying to do: go to gfblast dot com, thats someones own url, but when you get to the lander the url doesnt change.

how do you do this?
 
Classic iframe stuff, basic stuff

Code:
<frame SRC="[URL="http://www.wtfisthis90.com"]http://yourlinkhere.com[/URL]" name=mainwindow frameborder=no framespacing=0 marginheight=0 marginwidth=0></frame>
 
Back
Top