hiding query parameter by htaccess

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • codexxx
    New Member
    • Jun 2007
    • 18

    hiding query parameter by htaccess

    Hi All,

    I have got a requirement from a client who wants the query parameter to be hidden
    in the browser. What he wants is like following.

    If a url link becomes like http://mysite.com/profile.php?id=34

    then it should be replaced by something like
    http://mysite.com/profile.php/34 or some thing like this.
    So please help me by giving some suggestions.

    Thanks & Regards
    codexxx
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Hey there.

    What you're after is 'pretty urls'.

    Here's one of the tutorials I used when I was starting out with them

    Pretty URLs - a guide to URL rewriting

    When you've given it a shot and still can't do it, post back here with what you've tried and we'll give you a hand.

    Markus.

    Comment

    Working...