How to change the URL in address bar?

Posted on 2001-08-08
Last Modified: 2010-04-09
Hi all experts, I don't know what methods of properties enabling me to do this: changing the URL typed

in Address Bar. For example, I open IE then type "" after I press Enter, the JavaScript function in

the loading page immediately changes to "" without directing to another page or reloading current page.
I just want the address bar to say "" instead of "". Is it possible?
Question by:thanhnc
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +3

Accepted Solution

nzjonboy earned 100 total points
ID: 6366649
you cannot change the address bar, you can only redirect the browser.


Expert Comment

ID: 6367068
This sort of stuff is the job of your web host who looks after your Domain Names. For example if you own the 2 domain names... and you can tell them to link up the hell to heaven or visa versa.
You cannot do that in your page design.
It is more common to link up and so you don't have to type www all the time.
LVL 53

Expert Comment

ID: 6367738
Address is read only on hte client side, because the user has a right to know where you are taking them.

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users


Expert Comment

ID: 6370370
If you wanted to, you could purchase the domain AND, and have forward them to, but in you had a frameset where the top frame was set to 0% and the main frame was set to 100%, and the main frame was set to, all they would see was .

Hope that wasnt to complicated.

-Bobby Gordon

Expert Comment

ID: 6386198
any updates here thanhnc?


Expert Comment

ID: 6392137
What you want is what we call Mirror Domian name .

That is one site havong 2 domin names.
here is how you do it

1. Buy the 2 domain Names ( hell and heaven ) - if not possible then you cant do it  - forget it.
2. get your System adminstrator to setup one as Primary domain and the other as mirror Domain
3. In your home page  - write JS - using function Onload and chaning the URL to which again is the same page.

you will get your solution.

If there is any other way .. then it will be more complex than this.

the first point is important becuase without it i can name my site as and yahoo will Sue me like hell.

Trust i wany any help to you
LVL 53

Expert Comment

ID: 6629486
This question has been abandoned.  I will make a recommendation to the
moderators on its resolution in a week or two.  I appreciate any comments
that would help me to make a recommendation.


Expert Comment

ID: 6630579
I'll take some CAROBIT points for my 2 cents worth of comment... [smile] oops ;-)
LVL 53

Expert Comment

ID: 6640877
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

points to nzjonboy


If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.


Expert Comment

ID: 6686999
Answer accepted by:

Community Support Moderator

Thanks COBOLdinosaur for your help.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question