Skip navigation
EwokStud 34 posts
Jun 3, 2009
Currently Being Moderated

Maintain site DOMAIN ONLY in Address bar

Jul 21, 2010 10:21 AM

I've seen it before, but not sure if it's a CF thing or not, which accomplishes this:

 

Is there a way to display only the domain (www.MySite.com) and not the information to the right (such as ?id=2, or %20)?

 

ie.

http://forums.adobe.com/post!input.jspa?container=2223&containerType=1 4

 

to display as

 

http://forums.adobe.com

 

no matter which page you're on...

Doug

 
Replies
  • Currently Being Moderated
    Jul 21, 2010 11:30 AM   in reply to EwokStud

    NOT in a normal HTTP website unless you care to tackle the W3C and have them change the HTTP standard.

     

    IF you care to create your website in Flex|Flash|Air, you could create a singe user interface that is accessed from a single url but changes it's pages.

     

    OR

     

    I guess you could create a single page that can display a wide range of content based on HTTP post (aka form) requests.  But I sure would not want to maintain such a monster.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 22, 2010 1:20 AM   in reply to EwokStud

    The easiest way would probably be to wrap your whole page into a one-frame-website.

     

    http://www.w3.org/TR/html4/present/frames.html

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 22, 2010 1:40 AM   in reply to EwokStud

    That approach is a real pain in the arse for anyone wanting to bookmark anything in your site.

     

    Why would you want to do this?

     

    --

    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 22, 2010 1:42 AM   in reply to Adam Cameron.

    Oh, and I also suspect search engine crawlers won't index your site if you managed to get it working.  They'll see the single URL and go "right, I've already indexed that", and move on.  So only your homepage would ever get indexed.

     

    --
    Adam

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 25, 2010 10:08 AM   in reply to EwokStud

    I think you might be confusing your terms, or at least not articulating your requirement very well.

     

    What has having a secure site (which is done via SSL and HTTPS, and has nothing to do with what's displayed in the address bar) got to do with only showing the domain in the address bar?

     

    And I don't get what I'm supposed to be seeing on the Amway site.  Its URLs present exactly like any other website's do: protocol, domain, path & query string (where appropriate).

     

    Websites work by having a client establish a connect to the domain, via a protocol, and having the client request a document (the path in the URL), with optional parameters.  But the parameters are the only bits that are optional, unless you only have a single page on your website.  How would you expect a hyperlink to another page on your site to work if you don't actually tell it which page you want?

     

    --

    Adam

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points