Fake URL Redirect
Quite often I want to make a fake URL redirect, I usually do this and then make a 'page' rather than a 'post' in my blog, which means it will have a really neat URL and not look like an affiliate link.
Here's an example of setting up a fake URL redirect:
I have just been setting up an affilliate deal to sell Article Post Robot which is a software that I am currently evaluating.
however the URL for the affilliate link is really ugly:
http://www.srtsoft.com/cgi-bin/lyre.cgi/jvm/package/go_homepage.html?pack_id=664&aff_id=2592
I was seriously not into using that so I have used a little bit of code in a page to make it a little neater, here it is…
<script type="text/javascript">
<!–
window.location = "http://www.srtsoft.com/cgi-bin/lyre.cgi/jvm/package/go_homepage.html?pack_id=664&aff_id=2592"
//–>
</script>
The page is www.ricklomas.com/article-post-robot which is much much more tidy.
Leave a Comment
You must be logged in to post a comment.






Comments on Fake URL Redirect »
Hi Rick,
I like the idea of a javascript solution to this problem, but I don't see how, in your code, you actually specify the 'fake' part of the url: i.e., the article-post-robot section. How is this done? Am I missing something?
Thank you,
Kat Bartone
http://www.blogforfunandprofit.com
Hi Kat, the URL is a page (rather than a post) I have made in this blog and the code is in the page, it's as simple as that:)