HTML - Meta Http Equiv Problems
Hello everyone
I am trying to find a solution to a problem I encountered when trying to use the META HTTP-EQUIV tag I created two html files to show what the behavior is doing listed below. the problem I am seeing is when a user presses F5 or Ctrl-F5 possibly even Shift-F5 to manually reload the pages...the meta http-equiv redirect no longer works for IE 6 or IE 7. Is there a solution to this for IE6 and IE7 ? Thank you for any assistance you can provide to this issue. RobertMcol the first is the index.html Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <META HTTP-EQUIV="Refresh" CONTENT="20; URL=timeout.html"> <title>reload page after 20 seconds</title> </head> <body> <p>Open browsers IE and Firefox to this page</p> <p>After 20 seconds the timeout.html page will load</p> <h3>PROBLEM</h3> <p>Open browsers IE and Firefox to this page</p> <p>press the F5 key on both browsers before 20 seconds is up</p> <p>The Firefox browser will redirect to the timeout.html page as expected after 20 seconds</p> <p>The IE browser just sits there..... why ?</p> <p>is there a solution to this issue with IE ? </p> </body> </html> The timeout.html page Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>META HTTP EQUIV TESTS</title> </head> <body> <h2>PAGE TIMED OUT</h2> <p>This page loaded because the META HTTP-EQUIV="Refresh" Content="20; URL=timeout.html" tag worked properly</p> <p>pressing the browsers back button reloads the index.html page and META HTTP-EQUIV appears to work as expected</p> </body> </html> Similar TutorialsI have been using this: <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> But recently I saw this: <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> What am I supposed to use??? Could you have multiple http-equiv meta elements in one index.htm file, such as: Code: HTML Code: See what I am trying to do here is keep the charset the same, but also have search engines expire the current cache for this site as I have made many changes to my website. It is currently still under construction and I was wondering if this is the best way to "re-cache" the new content. Specifically, the title, description and keywords meta elements. Any assistance with this would be greatly appreciated. Just out of curiosity, if a server returns a page with code 3xx and a "Location: url_1" header, but also includes a <meta http-equiv="refresh" content="0;url=url_2"/> tag, then would the browser be expected to redirect to url_1 or url_2? http://www.colletts.co.uk/winter_dolomites.htm I have the above page that redirects users to my Winter Website - the HTML below isn't valid W3C does anyone know of a better and valid way to get this done? Cheers, Mas HTML Code: <META HTTP-EQUIV="Refresh" CONTENT="2.5;URL=http://www.colletts.co.uk/winter/winter_dolomites.html" /> Hi, I'm using this code at some website to navigate automatically to another specific website, it works fine, but in Internet Explorer 9, it doesn't... why? Any idea? Try this page if you want: http://www.domisign.com Fire fox will navigate you to another page (which i'm ok with that) but IE 9 doesn't. This is the code i'm using. <meta http-equiv="refresh" content="1; URL=http://www.krayem-group.com/domino/index.htm"> I have an XML document yourboyvic.com/albumart/now_playing.xml in this XML doc there is an element <time> the objective use this <time> element in http meta refresh code <meta http-equiv="refresh" content="30"> so that <time>+1 injected into content so that instead of content="30" content="whatever number is <time>+1 on yourboyvic.com/albumart/now_playing.xml" in short, a code substitution the end goal, instead of my page refreshing every thirty seconds, my page refresh countdown will be equivalent to when the current song ends plus one second so that the albumart showing is always the current song playing preferably in php+html kinda like this… <?php> $file = file_get_contents("albumart/now_playing.xml"); $time = ""; preg_match("/<time><!\[CDATA\[([^\]]+)\]\]><\/time>/sim", $file, $time_matches); if (isset($time_matches[1])) { $title = $time_matches[1]; } <html> <meta http-equiv="refresh" content="" . $time . ""> </html> ?> Hi Everyone, I am new to this forum and an internet newbie. I need help from someone familiar with both html and clickbank. Those of you familiar with Clickbank no that this is an affiliate marketplace for marketers who place their products and have affiliates market their products. I have signed up as an affiliate at Clickbank and obtained my hoplink for a particular product. Here is what I am trying to accomplish. As an affiliate I am going to be marketing various products at clickbank and instead of just referring my customers directly to the merchants sales page, I want to first capture their information with my own squeeze page, after I capture their names and email addresses and they click the submit button I have that link going to a thank you page, on this thank you page I am trying to redirect them directly to the sales page after collecting their info. It is here I am having the problems. I can redirect them ok but I am not able to redirect them and put in my hoplink so that I am the one that gets paid from my customers should they order from the sales page. Here is the html code I am using: <Meta http-equiv="REFRESH" content="10; url=http://www.mydomainname.com/"> then in order to get paid my hoplink needs to be in there somewhere so I just addes it to the end of the redirect code above as follows: <meta http-equiv=REFRESH" content="10;url = http://www.mydomainname.com/">http://myclickbankID.freegoogle.hop.clickbank.net/> I tried two way just reversing the order which I type the hop link first and the redirect first. Putting the redirect first makes the redirect work but I can't get my hoplink to work with the redirect code. I need help. Anything you can do would be greatly appreciated. I probably did not explain it very well so if you need clarification just email and I will do my best. Thank You I'm trying to put a meta tag description on my homepage, but it's not working because when I search for it on google, a different description shows up. This is my head: <head> <meta name="description" content="The reviewing site for New York City landlords. Find out if your landlord is a slumlord before you rent from them. ***** and moan about your existing landlord."> <meta name="Keywords" content="landlord, tenant, landlord tenant, small claims court, new york city, rent, deposit, security deposit, eviction, evict, slumlord, landlord law, tenant law, new york city tenant, rent new york city, landlord new york city, department of housing, sanitation, review, slumlord new york city" /> <title>The Landlord Intelligence Agency</title> <link rel="shortcut icon" href="favicon.ico"> <link rel="icon" type="image/gif" href="animated_favicon1.gif"> <style type="text/css"> a { text-decoration:none } </style> </head> Can anyone tell me what I'm doing wrong here? Hi all I am new to html. I came throught tag <META NAME="Author" CONTENT="text"> I don't see any change in my web page including this tag. Can u please tell me what's the use of it. How can I see that information in my web page Ok... I may have posted this in the wrong section but who cares anyway... I wonder if there is a way to add this <META HTTP-EQUIV="imagetoolbar" CONTENT="no"> "meta-thing" to all my HTML pages in my site. Can you add it to an external file or something??. The main point is that I don't want to include it in every single HTML file. Iv just created a website using CoffeeCup HTML Editer, but this is the first website which i have created using a HTML Editer instead of a sitebuilder provided by the hosting. In the sitebuilder i used for my old site, it provided what was called"SEO Wizard" which wrote the meta tags in the head for me. Now im using this HTML Editer, i have to write it myself.. On the template i used to start off, it provided the following as a start for me to enter the rest. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="Description" content="Your Title"> <meta name="author" content="CoffeeCup Software, Inc."> <meta name="Copyright" content="Copyright (c) 2010 CoffeeCup, all rights reserved."> <title>Your Title</title> <style... I can see myself that i need to add some sort of meta tag for my "Keywords". Im also not sure if there is any other codes i need to add, or removed if needed. Could someone help me please? Thanks! Note: Im not asking someone to add my keywords for me, etc.. lol. Im just looking for help on how to write it & then i can fill in the "Specific Stuff" for my site. okey so one of my friends want me to make hes homepage up to date, and when i was looking trough the code i saw this meta tag, I dont realy know what it does so can any one help me?? Code: <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> Hi, I have a website which is in greek. I was making an application to appear in this website but I have a problem with the characters, they appear like ? I had this problem before but was solved by adding a meta in the head part <meta http-equiv="content-type" content="text/html; charset=utf-8" /> the files are in utf-8 format and this meta exists in my head part but they still appear like "?" I would appreciate it if someone could advice me what to check. I can also provide a link, but I will send it by personal message to the interested. Thanks in advance, Dinos So I'm using CSS and the same header is used on every page. It includes all meta info, nav bar, company logo, etc. I read at the SEO opt sites that Meta data should be specific for each page to improve SEO (search engine optimization - google ratings). Those two seem to be at odds with each other: CSS good, but use different META info for every page. for example this is my code for an average page: Code: <?php require 'head01.html'; // call HTML headers, same for all require 'center11.html'; // call center code - another page require 'footer01.html'; // call footer code - same for all ?> CenterXX differs for every page but not Header01.html which has my META data. help. kc Can Someone please explain the relevance of using x-meta-robots? <meta name="robots" content="index,follow" /> Cheers! MAs I hate SEO Hi, I noticed that if you insert meta tags into html somewhere in the body tags, the browser still recognizes them. I know its bad practice, but do search engines frown on putting meta tags in the body INSTEAD of the head? Cheers, Doug <meta name="keywords" content="Blah blah blah blah" Guys is it above code is for search engine use one? Hello, I uploaded my first web site and I wrote some key words in the meta tags. <meta name="keywords" content="..."> <meta name="description" content="..."> <meta name="language" content="..."> <meta name="country" content="...> <meta name="robots" content="all"> The problem is that when I am writing on the google web page the keywords, it cannot find the web site. Can anyone help with the above problem?? Hi All, I know Meta tags aren't a huge thing these days but I still like to use them, just wondering what everyones thoughts were on which ones to use? I think they are way too many, obviously 'description' and 'keywords' would be important... Any others? And anyone know of any good generators? Thanks! |