Pages

HTML Redirect Code

To redirect a web page to another:

Put the following code between the <HEAD> and </HEAD> tags of the page that you want to redirect from.

<meta HTTP-EQUIV=”REFRESH” content=”0; url=http://www.abcdiamond.com/html-codes”>

The content=”0; part allows for the page to show for a number of seconds before it redirects. 0 = zero seconds, 5 would mean 5 seconds.

Nothing needs to be added to the target page.

Another option for PHP pages is:

Nothing needs to be added to the target page.

Another option for PHP pages is:

<?php
header (‘Location: http://www.abcdiamond.com/html-codes’);
?>






Kaspersky PURE

Related posts:

  1. HTML Code for Images [img]
  2. HTML Table code
  3. Code for adding URL into Contact Form 7 for Wordpress
  4. Wordpress Theme – Atahualpa
  5. How to convert Minutes and Seconds to just Seconds in Excel

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>