Anda di halaman 1dari 3

SEO Cheat Sheet v.0.

4
Element Example Note
Hyperlink <a href="http://www.example.com/keyword.in.url.html" title="Keyword in < 10 words
LINKS

Title">Keyword in text</a>
Image <img src="http://www.example.com/keyword.jpg" alt="Keyword in Alt" /> < 10 words

URL http://www.example.com/keywords.in.url.html < 96 characters


HTML

http://keyword.example.com/index.html < 4 depth


http://www.example.com/category/keyword.in.url.html < 4 domain levels
http://www.example.com/category/sub/sub/keyword.in.url.html End your URLs in a .html
http://www.example.com/index.html?article=keyword
http://www.example.com/index.html?cat=category&article=keyword
http://www.example.com/index.html?cat=43&sub=2&article=12&lang=en
Title <title>Keyword in Title</title> < 70 characters - including
<title>Keyword in Title > Category</title> spaces
<title>Keyword in Title > Category | Site Title</title> < 10 words
<title>Site Title > Category > Keyword in Title</title>
<title>Site Title</title>
Meta <meta name="keywords" content="keyword1, keyword2, keyword3" /> < 255 characters
< 20 words
<meta name="description" content="All text about keywords, red < 160 characters
keywords, green keywords, blue keywords" />
Use different keywords and description on each page
HTML Content should be placed above menu and other stuff < 160 kilobytes
Write page w/out JavaScript and CSS in HTML source – use external files < 100 unique links per page
XHTML or HTML should be valid
Source http://validator.w3.org/ HTML Validator
Heading <h1>Most Important Keyword</h1> <h1> can equal to page title
CONTENT

<h2>Second Most Important Keyword</h2> < 96 characters


<h3>Third Most Important Keyword </h3>
<h4>…<h6> - for minor keywords
Extract text <b>Keyword</b> Use native HTML, not CSS
<strong>Keyword</strong>
<i>Keyword</i>
<em>Keyword</em>
<font size="3">Keyword</font>
<span class="bold">Keyword</span>
Syndication Generate RSS for your dynamic content like "News", "Announce", etc.
Attention Don’t generate content with the help Flash*, AJAX or JavaScript
Don’t show the same content with different URLs and titles

File Syntax <?xml version="1.0" encoding="UTF-8"?> < 50000 URL


SITEMAP

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> < 10 Mb


<url>
<loc>http://www.example.com/</loc> XML must be valid
<lastmod>2008-06-18T06:04:00+00:00</lastmod>
<changefreq>daily</changefreq> Sitemap for example.com
<priority>1.0</priority> can’t contain links to sub
</url> domain (host.example.com)
</urlset>
Index File <?xml version="1.0" encoding="UTF-8"?> < 1000 files
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> For two and more sitemap
<sitemap> files
<loc>http://www.example.com/sitemap1.xml.gz</loc>
<lastmod>2008-06-18T06:04:00+00:00</lastmod>
</sitemap>
<sitemap>
<loc>http://www.example.com/sitemap2.xml.gz</loc>
<lastmod>2008-06-20T06:04:00+00:00</lastmod>
</sitemap>
</sitemapindex>
Copyright © 2008, Anton Shevchuk, http://anton.shevchuk.name
SEO Cheat Sheet v.0.4
Location http://www. example.com/sitemap.xml Default Location
http://www. example.com/sitemap.xml.gz
http://www. example.com/sitemap.gz
Source http://www.xml-sitemaps.com/ Generator
http://www.sitemaps.org/protocol.php Specification
Meta tag <meta name="Robot Name" content="Arguments" /> Use "robots" for all robots
ROBOTS

Arguments
noindex Google, Yahoo, Live, Ask, Yandex Page Not Indexed
nofollow Google, Yahoo, Live, Ask All Links on Page
Become No Followed
noarchive Google, Yahoo, Live, Ask Page Not Cached
Robots.txt User-agent: *
Disallow: /private/
Disallow: /private.html

User-agent: Googlebot/2.1
Sitemap: http://www.example.com/sitemap.xml
Source http://www.robotstxt.org/robotstxt.html Specification for robots.txt
http://www.robotstxt.org/meta.html Specification for meta
http://www.user-agents.org/ List of User-Agents

Apache Write to a file called".htaccess"


REDIRECT

Hidden files must be viewable in operating system or FTP


Redirect 301 / http://www.example.com/ Redirect to a new domain
RewriteEngine on Redirect from
RewriteCond %{HTTP_HOST} ^example.com [NC] http://example.com to
RewriteRule ^/(.*)$ http://www.example.com/$1 [L,R=301] http://www. example.com
Required mod_rewrite
PHP <?php Permanent redirect
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.example.com/");
exit();
?>
Perl #!/usr/bin/perl -w
use strict;
print "Status: 301 Moved Permanantly\n";
print "Location: http://www.example.com/page.htm\n\n";
exit;
Ruby on Rails headers["Status"] = "301 Moved Permanently"
redirect_to "http://www. example.com/"
Source http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html mod_rewrite manual

Source http://www.dmoz.org/add.html DMOZ


CATALOGS

http://www.google.com/addurl/?continue=/addurl Google
http://submit.search.yahoo.com/free/request Yahoo
http://search.msn.com/docs/submit.aspx Live
http://webmaster.yandex.ru/ Yandex (russian)

Source http://www.google.com/webmasters/ Google Webmaster Tools


BOOKMARKS

http://webmaster.yandex.ru/ Yandex Webmaster Tools


http://analyser.hohli.com/url SEO URL Analyser
http://www.livepr.info/ Check Google PageRank
http://www.sape.ru/ Link Exchange (russian)

Thanks http://mihaigheza.files.wordpress.com/2007/08/seo_cheat_sheet.pdf Primary source


©

http://www.seomoz.org/user_files/SEO_Web_Developer_Cheat_Sheet.pdf

Copyright © 2008, Anton Shevchuk, http://anton.shevchuk.name


SEO Cheat Sheet v.0.4
Links

•<a href="http://www.domain.com/buy-elephant.html" title="Buy Elephant">Buy Elephant</a>


•<a href="http://www.domain.com/buy-elephant.html" title="Buy Best Elephant">Buy Best Elephant</a>
•<a href="http://www.domain.com/buy-elephant.html" title="Buy Red Elephant">Buy Red Elephant</a>
•<a href="http://www.domain.com/buy-elephant.html" title="Buy Green Elephant">Buy Green Elephant</a>
•<a href="http://www.domain.com/buy-elephant.html" title="Buy Blue Elephant">Buy Blue Elephant</a>

HTML

•URL : http://www.domain.com/buy-elephant.html
•TITLE : Buy Elephant
•KEYWORDS: Elephant, Elephant Price, Elephant Review, Red Elephant, Green Elephant, Blue Elephant
•DESCRIPTION: Buy Elephant in The Elephant Shop, big choice of elephants, Category: Shop, Price: $100

Content

•<h1>Buy Elephant</h1>
•Buy our elephants in our shop.
•<h2>Elephant shop</h2>
•Elephant price: $100
•<h3>Elephant review</h3>
•Is The Best Of The West.

•Red Elephant - is red - like sunset


•Green Elephant - is nice green, green like grass
•BlueElephant - is blue, blue like sky

Copyright © 2008, Anton Shevchuk, http://anton.shevchuk.name