Results 1 to 4 of 4

Thread: Hiding/Masking URL

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Hiding/Masking URL

    Can anyone tell me how to mask a URL so it only shows the domain name please?

    i.e. Normally, if you goto webpage1, the browser address bar shows http://location/page1name.htm, if you click onto a link, the address bar would read http://location/page2name.htm etc., but I've seen a couple of sites in the past which only show http://location in the address bar when you navigate anywhere throughout the site.

    Is this an IIS or HTML code trick I can use on my site?
    Thanks

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  2. #2
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727
    the way i know of is to use framed pages, and then no matter what page the user sees there browser will always show the url for the frameset. if this is called index.htm then it will be the default and so typing in www.homepage.com will show this.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Which is bad because the user can't bookmark any inside pages of your site.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  4. #4

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Bingo!

    Yup, that's what I'm looking for, I'm just doing an asp.net app using sessions (so the user's logon's evaluated on every page - there's no use/need for the user to bookmark a page as they'll just be redirected to the logon page if they do try & access it).

    Thanks for the replies, I found the frame tip on google but I'd be interested to know if there was a way without using frames too.

    Thanks all!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

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



Click Here to Expand Forum to Full Width