url keeper/hider something

Discussion in 'Web Design and Development' started by Dafke, May 8, 2006.

  1. Dafke macrumors 6502

    Dafke

    Joined:
    Mar 24, 2005
    #1
    anybody knows of a html code that makes sure the url never changes? for example you visit macrumors.com and click on the forums, it still says http://www.macrumors.com in the adress bar.

    thanx :)
     
  2. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
  3. WildCowboy Administrator/Editor

    WildCowboy

    Staff Member

    Joined:
    Jan 20, 2005
  4. Heb1228 macrumors 68020

    Heb1228

    Joined:
    Feb 3, 2004
    Location:
    Virginia Beach, VA
    #4
    Yes, it can be done, but its not html code, it has to be done with your service provider. It was called DNS Pointing with the company I used to use. You could choose whether to let the address bar show the true url (which was my .mac website at the time) or stay on the purchased url.
     
  5. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #5
    If you do it this way, don't you have to have *every* sub-URL point? I mean... normally, DNS Pointing is done so that you have your:

    http://www.imtoocheaptobuyrealwebspace.someoneelsessever.com/users/a/g/hereiam/

    And you want that folder to appear as:

    http://www.iRock.com

    But then,

    http://www.imtoocheaptobuyrealwebspace.someoneelsessever.com/users/a/g/hereiam/pics/1.html

    appears as:

    http://www.iRock.com/pics/1.html

    Which I think, is not what the OP wants.

    I think you'd have to use CSS or Frames or something like that to get what you want -- it'd involve updating the page content without actually loading a new top level URL (the frameset, in frames, or whatever it's called in CSS).
     
  6. Heb1228 macrumors 68020

    Heb1228

    Joined:
    Feb 3, 2004
    Location:
    Virginia Beach, VA
    #6
    Nope. On mine, you were able to navigate around the whole site and the url stayed the same. Actually, that got to be a little annoying, because if you clicked on a link that took you to an different site, my url stayed in until you actually typed a new url or clicked a bookmark.
     
  7. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #7
    Oh, okay, thank you for the education, sir! :)
     
  8. Heb1228 macrumors 68020

    Heb1228

    Joined:
    Feb 3, 2004
    Location:
    Virginia Beach, VA
    #8
    Hey, no prob, I would have never known about it if I hadn't signed up with a sorry webhost in the first place. They pretty much sucked about everything.
     
  9. grapes911 Moderator emeritus

    grapes911

    Joined:
    Jul 28, 2003
    Location:
    Citizens Bank Park
    #9
    I think if you get a redirect from no-ip.com, you're site will do this. I'm not sure how they get it to work though.
     

Share This Page