1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Hide a querystring from the URL using .htaccess

Discussion in 'Apache' started by kavakava, Sep 11, 2008.

  1. #1
    Hello,

    How can I hide querystring from URL using .htaccess so that instead of:

    http://www.site.com/subscribe.php?email=EMAIL@DOMAIN.COM&name=NAME
    Code (markup):
    it just shows, for example:

    http://www.site.com/subscribe.php
    Code (markup):
    Thanks!
     
    kavakava, Sep 11, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Hi,

    That's HTTP Post, you can't mask HTTP GET (?key1=value1&key2=value2) while retaining values. You can redirect if you wish, but the email will be lost.

    Hope that helps,

    Jay
     
    jayshah, Sep 11, 2008 IP