Wednesday, May 22, 2024
HomeInternetHTTPMeta Refresh to Redirect

Meta Refresh to Redirect

This tech-recipe describes how to easily redirect a web visitor using meta refresh.

This recipe describes the meta refresh technique of redirecting users. By placing this tag in your head section of your html file, the user will be directed to another page after a set number of seconds.

<meta http-equiv="refresh" content="10; URL=">

By placing this code in the head of your page, visitors will be directed to tech-recipes after 10 secs. 0 secs will try to transfer the visitors as soon as possible.

Just change the url above and bounce your visitors to the correct page.

Using 301 redirects are much safer and are more search engine friendly.

David Kirk
David Kirk
David Kirk is one of the original founders of tech-recipes and is currently serving as editor-in-chief. Not only has he been crafting tutorials for over ten years, but in his other life he also enjoys taking care of critically ill patients as an ICU physician.


Please enter your comment!
Please enter your name here

Most Popular


Recent Comments

error: Content is protected !!