Cloaking Redirects!

Cindy

Power Member
Joined
Apr 7, 2008
Messages
632
Reaction score
89
Hi, just wondering if anyone knows how to easily cloak a redirect so that the Title of the page and the address bar remain www.yourdomain.com when you forward it to another url? Do you need to use frames? If anyone has the code please post! Below is the code I currently use:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Title Here</title>
<meta http-equiv="REFRESH" content="0;url=http://www.affiliate-link.com"></HEAD>
<BODY>

</BODY>
</HTML>

Thank you!
 
it is works?

sorry if my question doubting you, because i'm newbie person :D
 
what gloom? The code above works, but doesn't cloak the redirect. I just posted it to show people what I'm currently using.
 
In order to keep the address the same all you need to do is to setup a permanent (301) redirect.

In order to do this, all you need to do is to go to your hosting panel, find redirects, than choose permanent redirect.

That should do the trick.
 
Thank you blackhat rich! Do you know if it's possible to do multiple 301 redirects on the same domain? For example:

yourdomain.com redirects to affiliate site 1
while yourdomain.com/blah/ redirects to affiliate site 2

Thank you!
 
Another thing you could do is to insert an iframe in a page on your site. Set the iframe src to the url of the affiliate page. That way, the visitor would still actually be on your site, seeing your url in the address bar but the page content would be the affiliate page.
 
yourdomain.com redirects to affiliate site 1
while yourdomain.com/blah/ redirects to affiliate site 2

Ya you can do that as there is no problem that I can see in doing that.

And your welcomed.
 
Than you interpro! Can you post a sample script to do that in an iframe?

Thank you!
 
try with Java redirections

<script language="javascript" type="text/
javascript">window.location="URL DESTINATION";</script>

or read here some info

-http://w*w.weblog-diary.com/wp/?p=95

and look inside i think there was a post about java redirection or blgger java redirection something like that

good luck :)
 
sorry im noob in here.
may i know the benefits if using cloak redirect?
 
sorry im noob in here.
may i know the benefits if using cloak redirect?

Not to be rude, but there are lots of threads which cover this. It'd help you a lot if you searched the forum (using the search box). You might even stumble upon a lot of stuff that you are interested in and didn't know about.

To answer your question, link cloaking helps you present a neat and clean looking link instead of the ugly links that affiliate links usually are.
 
Cindy,

The following code can help you:

Code:
<html><frameset rows="100%,*" border="0">
<frame src="http://www.google.com" frameborder="0" />
<frame frameborder="0" noresize />
</frameset>
</html>
 
Hi, just wondering if anyone knows how to easily cloak a redirect so that the Title of the page and the address bar remain www.yourdomain.com when you forward it to another url? Do you need to use frames? If anyone has the code please post! Below is the code I currently use:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Title Here</title>
<meta http-equiv="REFRESH" content="0;url=http://www.affiliate-link.com"></HEAD>
<BODY>

</BODY>
</HTML>

Thank you!

Cloaker Gem does it and it's up here. Do a search for it.
 
Than you interpro! Can you post a sample script to do that in an iframe?

Thank you!


The iframe approach is easy to do. It will show the contents of the affiliate sales page, while staying on your site. You can also place other info before or after the iframe, such as pre-sell stuff or tell about any bonuses you offer.

Here's the basic code -

<iframe src="http://affiliatelink.com" width=800 height=1200 frameborder=0></iframe>

Of course, you'll need to set the src to the actual page you want to show and you can set the height and width to your own values. You'll want to set the width to a value that shows the entire with of the affiliate page, oterwise you'll have a horizontal scrollbar at the bottom of the display. People generally don't like to scroll horizontally to see everything.

Also, you can set the height value to whatever you like, but if you set it too small to show the entire affiliate page, you'll have vertical scrollbars. Having vertical scrollbars isn't too bad, as most web pages require scrolling anyhow. If you set the height to a large enough number, you can eliminate the scrollbars on the iframe, but your page will be long so you'll still have the vertical scrollbar on the main page.

If you want to experiment with the iframe idea, here's the complete code for a simple page. Just copy & past into a Notepad file and rename it test.html -

<html>
<head>
<title>IFRAME TEST</title>
</head>
<body bgcolor=000088>

<iframe src="http://yahoo.com" width=800 height=1200 frameborder=0></iframe>

</body>
</html>

Open the file with your browser, then you can play around with the values to see how things work.
 
Thank you blackhat rich! Do you know if it's possible to do multiple 301 redirects on the same domain? For example:

yourdomain.com redirects to affiliate site 1
while yourdomain.com/blah/ redirects to affiliate site 2

Thank you!
Yes! You can do it with php and Redirect.txt
 
Back
Top