Forum Moderators: phranque
Instead of pointing directly to the links , I've made the subdirectory for them to click on.
Instead of clicking a direct affiliate link , they click on :
mysite.com/mysite/
inside /mysite/index.html is :
<html>
<head>
<title>My Site</title>
</head>
<body>
<meta http-equiv="refresh" content="0;
url=http://www.affiliatesite.com?4tyge9465547" />
</body></html>
But when mysite.com/mysite/ is clicked on , the affiliate ID still shows up on the next page. I see a lot of affiliates are able to do it so that all you see is www.affiliatesite.com and not the ID afterwards.
How do I get to that next step?
Any info is much appreciated.
btw, all the above links are examples, not my real site or id's.
what server platform are you using?
this can be done with mod_rewrite on apache
Linux. Apache/2.2.8 (Unix) PHP/5.2.5 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.7m mod_apreq2-200512
I had mod_rewrite already enabled on the server.. So I guess it shouldnt be much harder from here on out.
I appreciate it if you could give me an example to try out. Im guessing i'd have to edit it in .httpd .. around the virtual host area? I have root access.
Shouldn't your meta tag be inserted between your head tags
mike2010:
i misread your situation and didn't realize the refresh was to another domain.
you can only do an internal rewrite as i was suggesting to a relative url.
i think the only way those other affiliates can do that is to use a frame in the page.
have you looked at the source of those pages?
i misread your situation and didn't realize the refresh was to another domain.
you can only do an internal rewrite as i was suggesting to a relative url.
i think the only way those other affiliates can do that is to use a frame in the page.
have you looked at the source of those pages?
I tried using an online 'view source' of their pages, but couldnt figure it out since I could only view the processed information.