Meta Redirect Code

In: Codes

8 Mar 2010

I was looking for a direct code that allows a page to redirect after 5 seconds of the original page being loaded. It is something dead basic but I wanted to use this to allow people to read a quick statement then transfer to another page.

I have used this in WordPress and it works really well. So here we go,

All you need to do is place the following code between <head> and </head>, in WordPress however you can just place this in the HTML version of the post or page you want to redirect.

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

It is really simple to do but I thought I would incorporate some basics into my blog.

If you do have any problems just give me a shout.

1 Response to Meta Redirect Code

Avatar

MarkSpizer

May 2nd, 2010 at 11:38 am

great post as usual!

Comment Form

About Dave Stopher

I am a Geordie SEO Programmer who is working for one of the biggest SEO Companies in the country called Just Search

Photostream

  • admin: To be honest no there is not. A alternative to this could be http://www.twitterfeed.com [...]
  • Judith: Is there not a simple wordpress plugin? [...]
  • menstie: Changing your background is great. Its like changing your mens tie every day. [...]
  • Judith: Everyone is dead, but when? At the start in the plane? If so what was the two realities and when did [...]
  • MarkSpizer: great post as usual! [...]