Jump to content

Meta problem


sweinkauf13

Recommended Posts

Hi,I have a splash page on my current project and i'm using a meta tag to get them to the next page. One thing. The meta tag doesn't work. I'm sure it's somthing simple but i can't find it. Here's the meta tag:

<meta http-equiv="REFRESH" content="5; url=homepage.html">

If you can let me know what's wrong. i would appreciate it.-youngwebmaster

Link to comment
Share on other sites

Guest FirefoxRocks

I don't know if it would help, but put refresh in lowercase letters:

<meta http-equiv="refresh" content="5;url=homepage.html">

Does this happen in all browsers? If not, the browser's meta refresh may be disabled (check Internet Explorer options, Firefox about:config and Opera preferences). Some security software may disable this function as well.By the way, meta refresh is not recommended

Using meta refresh for redirection is considered by the W3C to be a poor practice, since it does not communicate any information about either the original or new resource to the browser (or search engine). Many web design tutorials also point out that client side redirecting tends to interfere with the normal functioning of a web browser's "back" button. After being redirected, clicking the back button will cause the user to go back to the redirect page, which redirects them again. Some modern browsers seem to overcome this problem however, including Safari, Mozilla Firefox and Opera. Others, like Internet Explorer, can be "tricked" by doing two rapid clicks of the "back" button - the first lands you on the redirect page, and before the time interval expires the second click takes effect to land you on the previous page. The use of zero delay redirects may cause the two rapid clicks technique to be impossible.The W3C's Web Content Accessibility Guidelines (7.4) discourage the creation of auto-refreshing pages, since most web browsers do not allow the user to disable or control the refresh rate.
Link to comment
Share on other sites

Hi,I have a splash page on my current project and i'm using a meta tag to get them to the next page. One thing. The meta tag doesn't work. I'm sure it's somthing simple but i can't find it. Here's the meta tag:
<meta http-equiv="REFRESH" content="5; url=homepage.html">

If you can let me know what's wrong. i would appreciate it.-youngwebmaster

<META http-equiv="refresh" content="11; URL=http://www.yoursite.com/">

I think you have to have your things in capitals. If not try putting the URL in quotations maybe.

Link to comment
Share on other sites

thanks to all that responded. The problem is fixed now. -YoungwebmsaterNote: mods you are free to close the topic

Link to comment
Share on other sites

I'm really not sure why it started working, because what i changed should not have made a difference but here is what i did.At first I had this code:

<meta http-equiv="REFRESH" content="5; url=homepage.html">

So then i changed REFRESH to refresh. And changed meta to META. Here is the code i am now using:

<META http-equiv="refresh" content="11; URL=http://www.yoursite.com/">

A little side note. The first code i showed you worked for the first few test runs and then stopped working so I'm not sure if it was really broken in the first place.So this one is kinda weird.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...