Meta Tag Redirect

How to create a Meta Tag Redirect, using the meta refresh tag.

1359 views

Edited: 2019-09-11 16:05

Using a Meta Tag Redirect can be useful, if you do not have access to your servers configuration, and can not redirect using server-sided scripting.

A Meta Refresh of "0" will be picked up as a 301 Redirect in search engines, just remove the old content, and place a HTML link to the new page. In addition you may also want to consider the Canonical URL Tag.

Meta tags goes in the head section of your HTML.

The content attribute holds the amount of time in seconds.

<meta http-equiv="refresh" content="0">

Problems with Meta Redirects

Browsers do not appear to properly ignore pages in their history that have a client-sided redirect in place. A common problem is that the back button in the browser breaks when the browser encounters a client-sided redirect – one way to avoid this for browsers, could be to simply not list it in the "back" history.

A client-side method to do a 301 redirect can be important – some CMS systems does not allow to do server-sided redirects easily, and as such it would demand to much technical knowledge of their users to do redirects properly without a client-side method.

See also

  1. Redirecting pages with htaccess – Server-sided
  2. PHP Redirect – Server-sided
  3. JavaScript Redirect – Client-sided
  4. Canonical Tag – For Search Engines

Tell us what you think:

  1. Drop in traffic doing recent helpful content updates; time will tell if I will recover.
  2. Let us investigate what is up with those mass spammed *-k.html backlinks that many of us are seeing in our link reports.
  3. An in-dept look at the use of headings (h1-h6) and sections in HTML pages.
  4. Pagination can be a confusing thing to get right both practically and programmatically. I have put a lot of thought into this subject, and here I am giving you a few of the ideas I have been working with.
  5. The Video outside the viewport is properly not worth spending time on solving; it is probably intended to solve a specific issue, and every single little video probably does not need to get indexed anyway.

More in: SEO