Forum Moderators: open
Should I be concerned if my page is being re directed and how can I tell if it is?
Thanks
A host I used <cough>easyspace</cough> put (bug ridden) Javascript banner code right at the top of all my pages - obviously this preceded the Doctype declaration and so made it worthless.
If this is happening to you, either pay for the *upgrade* to get rid of it, or change hosts.
If you don't have a Doctype at the top of your page then the error is normal.
I can't see it having any effect on any SE rankings, it simply tells all user agents to render this page in "quirks mode" - if your template was designed by someone who didn't specify a doctype this may be a good thing..
To be sure, you'd have to write your own code instead of relying on a template, but duplicating a style from examples seen on the web is reasonably quick to do. As a user, I'd actually be attracted by a W3C validation icon on the page, but it's worth bearing in mind that I like to check! Without the icon, I wouldn't care unless there was a rendering problem.
[edited by: asquithea at 1:04 am (utc) on Dec. 7, 2003]
It is not there. My website is a template and they will not allow me to change anything like that. I was just wondering if this reall hurts me - as far as PR goes?
It won't really hurt you as far as the Search Engines go, but it's best to have validated code and that requires a doctype.
You can get shared hosting very cheap... perhaps when you've put spent a bit more time with your site you might consider moving it to a new hosting company. For under 20 Euros/month, (about 25 US$), you can get good shared hosting that won't put those restrictions on you.
Thanks
robert
code fascists
:-) Know thyself!
So, prefacing this by saying that I agree that Frontpage is probably responsible for more unusable, inaccessible websites than any other technology, I know that over in the WYSIWYG forum some folks love it and say that you can tweak the settings so that it will write valid code. I'd head over there and ask your questions (actually, *I* would delete Frontpage from my hardrive, but *you* may wish to go over there and ask someone who actually knows and likes Frontpage better than I do).
Tom
I would think that HTML 4.01 Transitional (or Frameset for frameset pages) is probably best.
You'll also need the Content-Type (Character Set) information either embedded on the HTML page, or selected on the validator site.
.
If you see the DOCTYPE line as simple text at the top of the page on your site, then you have probably added it using the content screen, rather than on the source code screen. If all else fails, open the web page in a text editor and add the DOCTYPE line using that.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
</head>
<body>
</body>
</html>