$$ a quck $10 for someone to help with .htaccess

Discussion in 'Programming' started by eljefe3, Sep 14, 2008.

  1. #1
    eljefe3, Sep 14, 2008 IP
  2. Radz

    Radz Notable Member

    Messages:
    1,497
    Likes Received:
    304
    Best Answers:
    0
    Trophy Points:
    280
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    you can set their affiliate link/url redirects to 404 page, from Control Panel of your Hosting...
     
    Radz, Sep 14, 2008 IP
  3. eljefe3

    eljefe3 Peon

    Messages:
    894
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    I looked at cpanel but don't really see that the hotlinking would fix that as there are many different affiiliates who use the same structure, just have different id's. I don't know anything about apache handlers, and from what I see in cpanel setting these 404's would have to be either in the hotlinking or apache handler.

    OK I see the custom error pages, but not sure how to set up as all i see is some bit of code like htis
    <!--#echo var="HTTP_REFERER" --> What else needs to go in here so only specific referrers get 404'd?
     
    eljefe3, Sep 14, 2008 IP
  4. FHN

    FHN Well-Known Member

    Messages:
    245
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    110
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    D' you read my MP eljefe3?
     
    FHN, Sep 14, 2008 IP
  5. Radz

    Radz Notable Member

    Messages:
    1,497
    Likes Received:
    304
    Best Answers:
    0
    Trophy Points:
    280
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    Check for "Redirect URL" under WebServer. I am not Hosted at cPanel, but on another Control Panel.. And I see URL Redirection here.
     
    Radz, Sep 14, 2008 IP
    eljefe3 likes this.
  6. eljefe3

    eljefe3 Peon

    Messages:
    894
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    hey thanks, I do see a redirect option.
     
    eljefe3, Sep 14, 2008 IP
  7. pokefreak

    pokefreak Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    copy this to your .htaccess file

    That'll ban any traffic from their domain, so if they change their referral structure, it'll still bounce
    if you change it, make sure to include the \ after oursite,
     
    pokefreak, Sep 14, 2008 IP
  8. eljefe3

    eljefe3 Peon

    Messages:
    894
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    ok case closed. thanks for that radz.
     
    eljefe3, Sep 14, 2008 IP
  9. eljefe3

    eljefe3 Peon

    Messages:
    894
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #9
    pokefreak, the referring domain is our domain :), it was just some bad affiliates, but thanks for chiming in.
     
    eljefe3, Sep 14, 2008 IP
  10. eljefe3

    eljefe3 Peon

    Messages:
    894
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #10
    fhn, I did and and sent you a pm. All taken care of now so radz, you have a pm coming.
     
    eljefe3, Sep 14, 2008 IP