8 ways to mask or redirect your affiliate links.

redirectThere are a number of ways to mask or redirect your affiliate link. But before we get into that, you are probably asking. Why would I want to hide my affiliate link? The simple one word answer is hijackers.

No one like the feeling that you are making money off of them. When you send a link to someone that says www.robbiewillgetpaidifyouusedthislink.com?id=tracked they are going to ignore your offer and link.

Here are 8 ways to mask you affiliate link. You will have to pick the version that is best suited for your server environment.

1. Ruby on Rails Redirect

def old_action
headers["Status"] = “301 Moved Permanently”
redirect_to “http://www.new-url.com/”
end

2. PHP Redirect

<?
Header( “Location: http://www.redirect-goes-here.net” );
?>

3. ColdFusion Redirect

<.cfheader name=”Location” value=”http://www.redirect-goes-here.net”>

4. JSP (Java) Redirect

<%
response.setStatus(301);
response.setHeader( “Location”, “http://www.redirect-goes-here.net/” );
response.setHeader( “Connection”, “close” );
%>

5. ASP .NET Redirect

<script runat=”server”>
private void Page_Load(object sender, System.EventArgs e)
{
Response.AddHeader(“Location”,”http://www.redirect-goes-here.net”);
}
</script>

6. CGI PERL Redirect

$q = new CGI;
print $q->redirect(“http://www.redirect-goes-here.net/”);

7. ASP Redirect

<%@ Language=VBScript %>
<% Response.AddHeader “Location”,”http://www.redirect-goes-here.net” %>

8.  Frame redirect

Put this code in between you body tags.
You can change the height, width, and scrolling as needed

<div align=”center”>
<iframe height=”600″ width=”600″ src=”http://www.redirect-goes-here.net” scrolling=”auto”>
</iframe>
</div>

If these enjoyed these post, send me a thank you by buying me a bawl.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>