Click to See Complete Forum and Search --> : Changing URL in Navigation Bar


lonogod
05-11-2007, 04:24 AM
Hello everyone. I was wondering if it was possible for a web site to display a different URL in the Navigation Bar than the actual URL or file name. For example, if I'm creating a web site on my computer and just testing it without uploading it to the internet first then I will see something like this

file:///C:/Folder_Name/index.html

But instead displaying that in the Navigation Bar it would display

http://www.yahoo.com

So if anyone has any information then I'd appreciate it. I don't know if it's possible, but I'd still like to know. Thanks.

lonogod

felgall
05-11-2007, 05:24 AM
It used to be possible to scam people into giving access to their bank account like that with earlier browsers (by displaying web pages that looked like a legitimate bank's web site and then faking the URL to be that of the bank) but the security in modern browsers insists on displaying the correct page address because the browser writers can't aafford the court costs from all the millions of people whose life savings would be stolen if it were possible to get the browser to display a different and fake address.

Charles
05-11-2007, 05:40 AM
No it's not possible. If it were it would be one huge security breach and you would never know who you were giving your SSN and your money to on-line. And it violates the spirit of honesty and openness. You should be ashamed for even having such thoughts.

sae
05-11-2007, 09:04 AM
the one thing you can do using URL re-writes is to change something like www.yourdomain.com/index.php?file=this&date=that&user=me to something nicer like www.yourdomain.com/this-that-me.html But you cannot change the www.yourdomain.com to anything that it is not...this isn't to say you can't have the same website with two different names (i.e. two urls that have the same DNS info)

lonogod
05-11-2007, 10:45 AM
You should be ashamed for even having such thoughts.

Charles, you might want to either read a little more carefully before you start making personal attacks or word things in a little less insulting manner. I never had the intention of doing URL changes, I simply wanted to know if it were possible.

So if anyone has any information then I'd appreciate it.

Notice the word 'information.' If I wanted to know how to do it then I would have asked for code. Perhaps I wasn't specific enough about what type of information I meant. I thought it was implied that I wanted the type of information that felgall gave me but maybe not to you...someone that obviously takes everything far too seriously.

lonogod

Charles
05-11-2007, 11:41 AM
Kindly note that the example you gave was one of "phishing". Please also consider that some things that are written are done so "tongue in cheek" -- or perhaps that's "finger in palm".

ray326
05-11-2007, 01:58 PM
If you needed to fake the location for something like a screen shot for a sales pitch then you could type the desired URL into the location and click away.

lonogod
05-12-2007, 12:28 AM
Kindly note that the example you gave was one of "phishing".

The example that I gave might be considered ethically as phishing, however, that is in no way the reason I wanted to know. I merely wanted to expand my knowledge of the possible and impossible.

Please also consider that some things that are written are done so "tongue in cheek" -- or perhaps that's "finger in palm".

If your comment was truly intended to be taken as tongue-in-cheek then I apologize. Though I would like to point out that these blogs are text and can therefor not always be interpreted correctly by the reader. I read it as if you were questioning my integrity even though you say it was meant to be taken lightly. So, if you have no objection, I would like to consider this matter closed.

lonogod