SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2011
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can I remove the parameters from a url in the address bar?

    Say I have something like this, www.mysite.com/customers/?customerid=10. Is it possible to have my url be something like www.mysite.com/customers/10 in the address bar?

  2. #2
    SitePoint Enthusiast
    Join Date
    Feb 2011
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or I should be asking instead, is it possible for users to access the www.mysite.com/customers/?customerid=10 link by typing www.mysite.com/customers/10 in the address bar?

  3. #3
    SitePoint Addict
    Join Date
    Apr 2009
    Posts
    356
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    apache and mod_rewrite does stuff like this. I think there is some kind of mod_rewrite for IIS but it would be up to your host if it's available or not.
    Doug G
    =====
    "If you ain't the lead dog, the view is always the same - Anon

  4. #4
    SitePoint Member
    Join Date
    Sep 2011
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it called ISAPI Rewrite, but if you are in shared hosting you must ask it from your hosting provider


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •