Solved

Changing the URL displayed in the addess bar

Posted on 2003-10-24
6
160 Views
Last Modified: 2010-04-09
How can you change the value of a URL displayed in the Address bar of a browser (i.e. to display another url of your choice rather thant the real one). I realise this is bad practise for all sorts of reasons, but I am told it still needs to be done.

Flashtin
0
Comment
Question by:flashtin
[X]
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
6 Comments
 
LVL 31

Accepted Solution

by:
seanpowell earned 50 total points
ID: 9614962
Well, here's one way:

<frameset cols="100%,*">
  <frame name="contents" src="mypage.html">
  <frame name="hidden">
</frameset>

Cal the frameset page, instead of the internal page.
0
 
LVL 7

Expert Comment

by:Xxavier
ID: 9618689
You don't need the hiiden frame this works, the frames page url shows up.

<frameset cols="100%,*">
  <frame name="contents" src="http://google.ca">
</frameset>
0
 
LVL 7

Expert Comment

by:Xxavier
ID: 9618697
sorry this

<frameset>
  <frame name="contents" src="http://google.ca">
</frameset>
0
 
LVL 7

Expert Comment

by:Xxavier
ID: 9618704
ps.  I am not trying to steal points here George was first, just pointing it out.
0

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

617 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