| Automatically redirecting visitors to another page |
It might so happen that during the web site maintenance process, you might rename a page or move it to another location. One of your kind visitors (rare!) informs you that he/she stumbled on this page and it shows a "404 page not existing error". Think about other users who have 'bookmarked' this page or worse still, search engines that have indexed this page.
A remedy to this problem would be to use an automatic redirection and we employ the <META> tag to accomplish this job.
Using the ETTP-EQUIV and CONTENT attributes with appropriate values, we can set up this redirection.
<META HTTP-EQUIV="REFRESH" CONTENT="10; URL=somepage.html">
The <META> tag has to be included in the HTML head. The CONTENT attribute takes two values. The first specifies the number of seconds for the page to refresh and the second is the page URL address. (Note: These two values are enclosed in only ONE pair of quotes and separated by a colon).
|
| Return to Listing |