Results 1 to 6 of 6

Thread: How To Mask URL?

  1. #1
    Join Date
    Jul 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How To Mask URL?

    I want to mask the URL displayed on the ADDRESS BAR how can I do like that? Say.. I want to redirect the domain name ABC.COM to say XYZ.COM but I want to show the URL ABC.COM on the ADDRESS BAR instead of XYZ.COM. Plase help me...
    Last edited by thetestingsite; 07-25-2008 at 05:13 PM. Reason: removed signature

  2. #2
    Join Date
    Jul 2008
    Posts
    40
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Default Use the replace() method!

    You'll have to use javascript to work on this masking!

  3. #3
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    There are no methods I can think of that would work with the exception of using a frameset, but even this is poor practice. Not sure why you would want to do something like that, but in my personal opinion, this is not a good idea.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  4. #4
    Join Date
    Jul 2006
    Posts
    497
    Thanks
    8
    Thanked 70 Times in 70 Posts

    Default

    This is known as URL redirection and it's more of a DNS or server administration question than a programming one. I wouldn't know about it except I had to use it recently. The service I used for it was DynDNS, which is free.
    -- Chris
    informal JavaScript student of Douglas Crockford
    I like wikis - a lot.

  5. #5
    Join Date
    Jul 2008
    Posts
    102
    Thanks
    36
    Thanked 6 Times in 6 Posts

    Default

    URL redirection as far as Im aware is exactly that, from one url to another (pages can be included aswel on some server setups) masking is the process of the url path being masked, this is basically on/off but bare in mind that some hosts turn this off and unless the domains belong to the same host then I believe it has a huge problem in keeping the mask active. I wouldnt know all the server files to modify but Im sure thats what your after. Other than that, well a link would work if you want to update the url path in the browser.



    Dal
    Programmers are tools used to convert Caffeine to code

  6. #6
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

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
  •