PDA

View Full Version : hide path name and file name in URL


Nora
09-18-2002, 03:57 AM
How can I hide the pathname and filename in the URL as people navigate through my website? I want to just always show the base domain name without all the extra garbage. I don't need it because once in the site the user is to navigate using the buttons and links within the site.

Spookster
09-18-2002, 04:19 AM
You can put your site into a frameset using one frame set at 0 and the other set to 100%.

joh6nn
09-18-2002, 04:26 AM
what if they want to show someone the page they're at? how are they going to know the URL to send people to? or what if they want to make a bookmark? they'll never know what page they're at, and bookmarking from inside of frames, usually results in bookmarking the wrong page. i think you're better off, leaving it alone.

Nora
09-18-2002, 01:01 PM
Thanks Spookster. I will try that.

Joh6nn, My site is one which must be logged into and I prevent coming into the site from any other means. I also prevent navigation outside of the supplied buttons, tabs and links. So for bookmarking and sending to friends, they would have to send the base URL anyway. But thanks for your thoughts.

Nora

Mhtml
09-20-2002, 06:44 AM
using a ssl...I used to do it in asp, redirect to a page like this..

<a href="?s=scripts">News</a>

then on the same page as the link have a script...

section = request.querystring("s")
if section = news then
response.redirect("news.asp")
end if

then all you have in the addressbar is here.com?s=news