Need some modrewrite lines (Paying $10)

Discussion in 'Programming' started by msdriven79, Jan 24, 2008.

  1. #1
    I need a few lines that look for a specific keyword in the referer and if found, redirect to a specified website.

    Example: Visitor comes to my website while searching for "sushi" on google. Visitor is redirected to mysite.com/japan.html

    Paying $10 on paypal for the first one to send me some working lines.
    (Please note, I'll send immediately but it will be a bank-transfer so it will take 3-4 days).
     
    msdriven79, Jan 24, 2008 IP
  2. phpl33t

    phpl33t Banned

    Messages:
    456
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Sure, but pay has to arrive first.
     
    phpl33t, Jan 24, 2008 IP
  3. udkl_12_98

    udkl_12_98 Banned

    Messages:
    307
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    I could do a PHP script (on first landing page) which does what you need and will be easily modifiable..... You have a PM.....
     
    udkl_12_98, Jan 24, 2008 IP
  4. Mobifrendz.Org

    Mobifrendz.Org Banned

    Messages:
    320
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    pm ME BRO,WHAT YOU NEED...
    I CAN DO IT FOR YOU VERY FAST..
     
    Mobifrendz.Org, Jan 24, 2008 IP
  5. msdriven79

    msdriven79 Well-Known Member

    Messages:
    480
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    110
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    Alright since I have found it by myself here's the code (in case anyone else needs it):

    RewriteCond %{HTTP_REFERER} [?+&]?keyword[?+&]? [NC]
    RewriteCond %{REQUEST_URI} !^([^/]+/)*[^/.]+\.[^/.]+$
    RewriteRule .* http://www.whatever.com/wherever/yoursite.html [R=302,L]
     
    msdriven79, Jan 27, 2008 IP