Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do I redirect someone to my new page?



How do I redirect someone to my new page?..

Answer / 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

More HTML DHTML Interview Questions

What is the difference between html action and html renderaction?

0 Answers  


Explain something about the new <canvas> element?

0 Answers  


What is header and footer?

0 Answers  


How to apply stylesheet with html element by id?

0 Answers  


How to create shapes with border property.

0 Answers  


What is html and how it works?

0 Answers  


What is the basic structure of an html document?

0 Answers  


. What is the purpose of the <!DOCTYPE> declaration?

2 Answers  


What does double butted mean?

0 Answers  


How to align <table> right/left in html?

0 Answers  


Is br or br bigger?

0 Answers  


What is the use of a span tag? Explain with example.

0 Answers  


Categories