Page and site guidelines for SEO
Each page in your site should follow coding best practices.
Explanation
Each page in your site should follow coding guidelines to help make sure that search engines can accurately analyze your site. If a page is not well-formed, or if it lacks specific tags, such as the <body>
or <html>
tags, search engines may not be able to find relevant text in the page. This would reduce the page ranking in search-engine results.
Guidelines
Check each page in the site for the following:
Each page should use well-formed HTML or XHTML.
For more information, see WEB1042 - The page is not well-formed.
Each page should contain an
<html>
tag.For more information, see WEB1065 - The <html> tag is missing.
Each page should contain a
<body>
tag.For more information, see WEB1001 - The <body> tag is missing.
Each page should have a corresponding
<noscript>
tag for each<script>
tag.For more information, see WEB1063 - The <noscript> tag is missing.
Do not use
<meta http-equiv="refresh">
tags for redirection.For more information, see WEB1041 - The <meta http-equiv="refresh"> element is being used for redirection.
The contents of the
<body>
tag should end before the first 100 KB of a page.For more information, see WEB1002 - The page is too large.
Make sure the attribute values in the
<meta name="robots">
tag are used correctly.For more information, see WEB1037 - Make sure 'nofollow' and 'noindex' are used correctly in <meta name="robots">.
A
<meta name="robots">
tag includes one or both of the attribute values nofollow and noindex.For more information, see WEB1038 - The <meta name="robots"> tag contains invalid values.
An
<iframe>
tag should contain terms relevant to search engines in the inner text region.For more information, see WEB1043 - This page contains one or more <iframe> tags but does not contain content for viewers that do not support frames.
Each page should have a corresponding
<noframes>
tag for each<frameset>
tag.For more information, see WEB1003 - The <noframes> tag is missing.
See also
Concepts
Heading guidelines for SEO
Description guidelines for SEO
Keywords guidelines for SEO
Image guidelines for SEO
Hyperlink guidelines for SEO
Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.