GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   hide affiliate codes ? .htaccess ?? (https://gfy.com/showthread.php?t=617610)

xanx 06-04-2006 11:55 AM

hide affiliate codes ? .htaccess ??
 
Is there a way in .htaccess pick out certain urls in a page (affiliate links) and some how make them appear clean urls?

example: lets say http://www.gfy.com?myaccount
could actually look like http://www.gfy.com to the surfer ?

spasmo 06-04-2006 12:01 PM

You could use mod_rewrite, mouseovers, javascript etc.

For quick and dirty just use mouseovers. That'll take care of 95% of your users (those running IE).

Malicious Biz 06-04-2006 12:13 PM

JAvASCRIPT DAWG! USE IT

Code:

<a onMouseOver='window.status="http://www.someurl.com/";
return true' onMouseOut='window.status="Done";
return true'
href="http://www.someurl.com?affiliateid=29013">
http://www.someurl.com/</a>


jrap 06-04-2006 12:51 PM

I always disguise my affiliate links with .htaccess

Ex:

RewriteRule ^movies/full_length_porn.wmv$ http://www.affiliate.com?code

Then I link to mydomain.com/movies/full_length_porn.wmv
Also suggest blocking spiders accessing /movies , in your robots.txt

Love Sex 06-04-2006 03:05 PM

do you think it really makes a difference?

tenderobject 06-04-2006 03:09 PM

is this an old thread?

oh well, is there a quick solution for that? than using this code?

Code:

<a onMouseOver='window.status="http://www.someurl.com/";
return true' onMouseOut='window.status="Done";
return true'
href="http://www.someurl.com?affiliateid=29013">
http://www.someurl.com/</a>

that would be a lot of work if you do put this code for your hundreds of links :)

Cash 06-04-2006 11:26 PM

He gave you the solution and now you fear too much work ... :)

coca-cola 06-05-2006 12:32 AM

what for? arent you proud youre promoting something? heh heh

gooddomains 06-05-2006 01:48 AM

anyone has samples for a complete mod_rewrite rule ?


All times are GMT -7. The time now is 09:53 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123