little htaccess redirection help

Discussion in 'Programming' started by gaurav_, Dec 17, 2013.

  1. #1
    please help me with redirection htaccess code for the following example

    
    www.website.com/dir/page.php?p=thestring/9898989&g=99
    
    to
    
    www.website.com/dir/page.php?p=334362&g=99
    
    Code (markup):
    values are dynamic :-(
     
    Last edited: Dec 17, 2013
    gaurav_, Dec 17, 2013 IP
  2. Andrew_Culture

    Andrew_Culture Member

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #2
    Hmm, you might find using a different method to 304 works best.

    Have a look here for more info.
     
    Andrew_Culture, Dec 17, 2013 IP
  3. gaurav_

    gaurav_ Member

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    i have no experience with htaccess and one of my friend asked me this, So im asking of your help
     
    gaurav_, Dec 17, 2013 IP
  4. Andrew_Culture

    Andrew_Culture Member

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #4
    I'm trying to help but this forum won't let me post links. So all I can say now is try googling the following phrase 'wildcards in htaccess'.
     
    Andrew_Culture, Dec 17, 2013 IP