Buying Help with simple mod rewrite!

Discussion in 'Programming' started by nickharper, Oct 12, 2009.

  1. #1
    I am having issues with my mod rewrite.

    I need it sorting ASAP.

    I basically want to be able to rewrite something from

    player.php?id=8

    to domain.com/player-name

    I have all of the PHP code but when I try to use:

    RewriteRule ^(.*)/ player.php?name=$1 
    Code (markup):
    It rewrites EVERYTHING so I think I need some conditions, the first person who can help me will get $10.

    Thanks
     
    nickharper, Oct 12, 2009 IP
  2. Tectonicz

    Tectonicz Peon

    Messages:
    88
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    it would have to be
    player.php?name=<name>
    for that rewrite to work
     
    Tectonicz, Oct 12, 2009 IP
  3. w47w47

    w47w47 Peon

    Messages:
    255
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    i can make this for you right now.. in the second you PM me.
     
    w47w47, Oct 12, 2009 IP