Answer Posted / guest
The most reliable way is to configure the server to send out
a redirection instruction when the old URL is requested.
Then the browser will automatically get the new URL. This is
the fastest way to do this. You can of course also simply
put up a small page with a text like "This page has moved to
http://new.url/, please adjust your bookmarks".
A Netscape-only solution, which doesn't work on other
browsers, and screws up the "back" button in Netscape, is
<META HTTP-EQUIV="Refresh" CONTENT="x; URL=new.URL">
which will load the new URL after x seconds. This should go
in the HEAD of the document. But if you do this, also
include a short text saying "Document moved to new URL
so-and-so" for other browsers.
(The screwing-up bit refers to the fact that if you press
"Back" after you have been redirected, you will be taken to
the document with the META refresh. Then the refresh will be
activated, and so you'll jump to the page you just tried to
leave.)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is web sql database in html 5? Explain
What is a tag in english?
Why are not my frames the exact size I specified?
What are gradients in Canvas used for? What are their different types?
What are the new input types provided by HTML 5 for forms?
How do you change the number type in the middle of a list?
Which html tag allows users to specify a file for uploading?
Explain bullet types in html?
How do you get higher results on google?
What is the difference between tags and attributes?
What are the rules established for html5?
How do you center a tag in html?
What is numbered list?
What are the different new form element types in html 5?
What does <> mean in html?