Transfering from one page to another?

  • Thread starter martin weinberger
  • Start date
M

martin weinberger

I have an HTML page that I wish to relocate but still keep the original
page. What is the HTML code that I have to add (and where) that I can tell
the browser to automatically transfer control to another webpage.

For instance, a user types in:

http://www.mywebsite.com/MyFirstProjectPage.htm

That page should redirect to another page, which opens up. Thus, the user
would see

http://www.mywebsite.com/Projects/MyFirst/Home.htm

What could would I insert. Assume that I create a blank HTML page for the
first.

Thanks in advance,
 
M

Mark Parnell

I have an HTML page that I wish to relocate but still keep the original
page. What is the HTML code that I have to add (and where) that I can tell
the browser to automatically transfer control to another webpage.

The correct way to do this is on the server, not in HTML. For example,
if your server is Apache, enter the following in your .htaccess file:

Redirect Permanent page1.htm http://www.example.com/page2.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top