Page 1 of 1
How to hide the full url of a website and show domain name
Posted: Mon Jul 06, 2009 8:02 pm
by kentorks
How to hide the full url of a website and only display the domain name
Re: How to hide the full url of a website and show domain name
Posted: Mon Jul 06, 2009 10:26 pm
by jackpf
What?
Re: How to hide the full url of a website and show domain name
Posted: Tue Jul 07, 2009 1:33 am
by jamkelvl
Frames?
Re: How to hide the full url of a website and show domain name
Posted: Tue Jul 07, 2009 5:13 am
by kaisellgren
What drives you to this situation?
Re: How to hide the full url of a website and show domain name
Posted: Tue Jul 07, 2009 5:27 am
by onion2k
jamkelvl wrote:Frames?
Frames don't hide anything.
Re: How to hide the full url of a website and show domain name
Posted: Wed Jul 08, 2009 12:29 am
by SvanteH
Obviously the website needs to have a sort of identifier of each unique page. Else it wouldn't be able to know which page you are requesting.
Re: How to hide the full url of a website and show domain name
Posted: Mon Jul 13, 2009 5:40 pm
by Skara
Actually, this would be interesting just to see if you could do it. I could see it done two ways.
1) Use POST rather than GET. Use onclick to load data into a form and submit it.
2) Use session/cookie data. Which begs the question: Can session/cookie data be set without the use of a form?
Re: How to hide the full url of a website and show domain name
Posted: Mon Jul 13, 2009 6:34 pm
by jackpf
Well, you'd still have to send the data for to the browser for it to post back...but you could do it with sessions.
Although I don't really see the point. Why would you want to prevent the user from knowing what page they are on?
Re: How to hide the full url of a website and show domain name
Posted: Fri Jul 17, 2009 1:27 am
by thewebhostingdir
I think he wants this for better looking URL's.
But you can still get better URL's, using rewritting..

Re: How to hide the full url of a website and show domain name
Posted: Fri Jul 17, 2009 6:41 am
by jackpf
Generally people want pretty URL's for SEO, but since bots don't even use cookies or post data, then this would not work at all and the bot would only be able to see the index page.
Maybe if the OP explained what they actually wanted......hint hint.