< Browse > Home / Codes / Blog article: Meta Redirect Code

| Mobile | RSS

Meta Redirect Code

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.

Random Posts

Random Posts

Follow Discussion

One Response to “Meta Redirect Code”

  1. MarkSpizer Says:

    great post as usual!

Leave a Reply