hiding the web address
Moderator: General Moderators
hiding the web address
1. i was wondering if i could hide the web address. if my site is http://www.website.com and someone clicked on the members page it would display http://www.website.com/members.php is there a way with php that i can hide or mask the address so when users navigate around it would display the root page only. regardless if they clicked on members, links, or any other hyperlink the address bar would display http://www.website.com
2. would there be a way to grab the current login name of the user that visits the site?
2. would there be a way to grab the current login name of the user that visits the site?
Re: hiding the web address
Why would you want to cripple the user experience by using these hacks you suggested?sheepz wrote:1. i was wondering if i could hide the web address. if my site is http://www.website.com and someone clicked on the members page it would display http://www.website.com/members.php is there a way with php that i can hide or mask the address so when users navigate around it would display the root page only. regardless if they clicked on members, links, or any other hyperlink the address bar would display http://www.website.com
I wonder how many times people look at the addressbar in their user-agent (assuming they have one), and i wonder how many that care about what is in there. The only reason i can see is when they want to tell someone else where they are... (Not really useful if it always displays example.org instead of the correct URL)
Use frames it will fullfill ur requirements..
Hi,
Use Frames it will fullfill your requirements. It will only show the main URL instead of full URL. like if your current URL is like http://www.isf.com.pk/home/index.asp , then it will only show http://www.isf.com.pk
Bye.
Use Frames it will fullfill your requirements. It will only show the main URL instead of full URL. like if your current URL is like http://www.isf.com.pk/home/index.asp , then it will only show http://www.isf.com.pk
Bye.
Re: Use frames it will fullfill ur requirements..
That assumes your users have a browser that supports frames - anyone using a basic mobile device would probably not be able to view it.saqib81pk wrote:Hi,
Use Frames it will fullfill your requirements. It will only show the main URL instead of full URL. like if your current URL is like http://www.isf.com.pk/home/index.asp , then it will only show http://www.isf.com.pk
Bye.
It will also reduce your SEO ranking!
giving more info than just the URL can be very useful. bbc.co.uk are really good at it, I rarely bother to search, I just type in what I'm after (although I think it's done with ruby on rails). The principal behind it is what matters though.
If you want to have a neat address bar - and you absolutely should invest time in this, then the following is useful:
http://www.w3.org/QA/Tips/uri-choose
If you want to have a neat address bar - and you absolutely should invest time in this, then the following is useful:
http://www.w3.org/QA/Tips/uri-choose