Internet, Networking, & Security Web Development 24 24 people found this article helpful How to Use the Meta Refresh Tag The meta-refresh tag reloads pages or redirects to new ones By Jennifer Kyrnin Freelance Contributor Jennifer Kyrnin is a professional web developer who assists others in learning web design, HTML, CSS, and XML. our editorial process LinkedIn Jennifer Kyrnin Updated March 11, 2020 Tomas Knopp / Getty Images Web Development Web Design CSS & HTML SQL Tweet Share Email The meta-refresh tag, or meta redirect, is one way that you can reload or redirect web pages. The meta refresh tag is easy to use, which means it is also easy to misuse. Reloading the Current Page With the Meta Refresh Tag Place the following meta tag within the head division of your HTML document. When used to refresh the current page, the syntax looks like this: <meta http-equiv="refresh" content="300"> This code snippet refreshes the current page after 300 seconds. Redirecting to a New Page With the Meta Refresh Tag Another use of the meta refresh tag is to send a user from the page that they requested to a different page instead. The syntax for this is nearly the same as reloading the current page: <meta http-equiv="refresh" content="2;url=https://dotdash.com/"> The content attribute is slightly different. It specifies the time, in seconds, until the page should be redirected. Following the semicolon is the URL of the new page to be loaded. Use a zero to redirect immediately. The most common error when using a refresh tag to redirect to a new page is to add an extra quotation mark in the middle. For example, this syntax is incorrect: content="2;url="http://newpage.com". If you set up a meta refresh tag and your page doesn't redirect, check for that error first. Drawbacks to Using Meta Refresh Tags Meta refresh tags have some drawbacks: Meta refresh redirects have been used by spammers to fool search engines. Search engines now often remove those sites from their database. If you use a lot of meta refresh tags to redirect pages, the search engines may decide your site is spam and delete it from their index. If you need to redirect an old URL to a new one, it's better to use a 301 Server Redirect instead. That redirect will actually let search engines know that a page has been permanently moved and that they should transfer any link rankings from that old page to the new one.There can be a usability problem if the redirect happens quickly (less than 2-3 seconds). This setting prevents older browsers from using the back button.If the redirect happens quickly and goes to a non-existent page, your readers may get stuck in a loop without seeing any content other than a 404 page.