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.

How to remove question mark from a query URL?

Discussion in 'C#' started by JJnacy, Sep 28, 2009.

  1. #1
    JJnacy, Sep 28, 2009 IP
  2. dgxshiny

    dgxshiny Greenhorn

    Messages:
    65
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    23
    #2
    dgxshiny, Sep 28, 2009 IP
    JJnacy likes this.
  3. JJnacy

    JJnacy Peon

    Messages:
    448
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks Dgxshiny for the link info.

    But I am using a share web hosting.

    Can some one let me know what kind hosting service provide these kind of services?

    Thanks
     
    JJnacy, Sep 28, 2009 IP
  4. Calidore

    Calidore Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That is too hard for a shared hosting...
     
    Calidore, Sep 29, 2009 IP
  5. Nytrolix

    Nytrolix Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Why would you want to remove the query string? only other way i can think of is to have dynamic folders....
     
    Nytrolix, Sep 29, 2009 IP
  6. rkstech

    rkstech Active Member

    Messages:
    195
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    73
    #6
    Please give us the reason as "?" is used as a delimiter for the URL parameters

    Try URL encoding

    Also what does your link looks like
     
    rkstech, Sep 30, 2009 IP
  7. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #7
    option one: ask your host to install an asapi filter that allows url rewriting
    option two: manually add the real folders but just have hook files in them - so they all include one file - then that file detects the folder and outputs content accordingly
    option three: use .NET - I believe you can ask your host provider to setup X ype of files to run through the asp.net engine, which will allow you to overwrite the http context and render anything anywhere
    option four: use php/.htaccess mod-rewrite
     
    ccoonen, Sep 30, 2009 IP
  8. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #8
    Hi JJNacy,

    In this post: http://forums.digitalpoint.com/showthread.php?p=9721822#post9721822

    I posted another possible solution that you can use easily on most shared hosts, by creating a custom error 404 page that reads the url and displays the appropriate page, without altering the url in the browser... This is done using asp.net, but you could use the same principle and achieve the same result in classic asp.
     
    camjohnson95, Oct 2, 2009 IP