hide affiliate codes ? .htaccess ??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xanx
    Confirmed User
    • Apr 2002
    • 3711

    #1

    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
    Confirmed User
    • Dec 2005
    • 2678

    #2
    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).

    Surfers: Go here for hot babes.

    Comment

    • Malicious Biz
      So Fucking Banned
      • Mar 2005
      • 4575

      #3
      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>
      Last edited by Malicious Biz; 06-04-2006, 11:16 AM.

      Comment

      • jrap
        Confirmed User
        • Feb 2005
        • 448

        #4
        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

        Comment

        • Love Sex
          Confirmed User
          • Nov 2004
          • 1905

          #5
          do you think it really makes a difference?

          Comment

          • tenderobject
            Need Designs? 312352846
            • Dec 2004
            • 11688

            #6
            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


            NEED DESIGNS?!?

            Comment

            • Cash
              Click on my TCG signature
              • Feb 2002
              • 20825

              #7
              He gave you the solution and now you fear too much work ...
              $9.95/month for 15000 GB bandwidth monthly, unlimited (sub)domains and MySQL5, PHP4/5, 500 GB disk storage! ; use any of these invitation codes: 216263692101; 408636009193; 846090586647; my ICQ 30160426!

              Comment

              • coca-cola
                Confirmed User
                • Jul 2005
                • 251

                #8
                what for? arent you proud youre promoting something? heh heh
                .
                .
                So Far, So Good

                ICQ: 236-396-443
                Search Engine Optimizer

                Comment

                • gooddomains
                  Too lazy to set a custom title
                  • Jul 2003
                  • 10127

                  #9
                  anyone has samples for a complete mod_rewrite rule ?

                  Comment

                  Working...