Try below method:
This is a really easy redirection method. A META tag redirects the browser immediately after the page has loaded. This redirect method has been mentioned as a tip on many web sites.
This redirect, however, is speeded up with JavaScript. If the browser is JavaScript-enabled, the redirect kicks in *before* the page finishes loading. Even a fraction of a second can make a big difference to an impatient prospective customer.
First, make a web page with the following HTML code:
<html>
<head>
<meta http-equiv="refresh" content="0; url=URLGOESHERE">
<script type="text/javascript" language="JavaScript"><!--
window.location="URLGOESHERE";
//--></script>
</head>
<body>
</body>
</html>
Next, replace both instances of URLGOESHERE with your affiliate URL.
Decide on an appropriate file name for the web page ("master.htm" for example, or emulating the name of the program you're linking to, like "form.htm"). Once the file name has been decided, upload the web page to your server.
Now you can simply publish the URL of your web page instead of your affiliate link URL. The web page will redirect the prospective customer with your affiliate link.
Note that this can appear to disable the browser's "back" button. The "back" button needs to be clicked twice, in rapid succession (just a twitch slower than a double-click) in order to get back to the original page where the link was clicked.
One way to bypass what could be an annoyance is for the link to open a new window. This way, when the new window is closed, the previous window will be at the original web page.