Forum Moderators: phranque
I want to hide a affiliate link and the url that displays in the address bar.
so that it looks like user is in my website rather going to the merchant site.
For example what i want is a user comes to mysite.com and rollover to a link that is lets say (Click here)it shows the affiliate link but i want it to show mysite.com/some and when he click it he will go directly to the site that is my aff site but i want the address bar to show mysite.com rather then aff site.
I hope i have explained it right.
See Apache mod_proxy [httpd.apache.org] for a possible solution.
However, be aware that the server you forward the request to will always log your server as the requestor; It will not see the original requestor's IP address.
Be careful to check the aff Terms and Conditions: What you're trying to do may not be --indeed probably is not-- allowed. And since your server is always the requestor, this is trivial to enforce.
Additionally, such things as cookies and authentication may break if you proxy requests.
Jim
Cheers but defenatly will be asking you more about mod-rewriting again cos i have to shorten my url's. if there is any post about that please do tell me.