Search engine optimization is important for all websites so that they’ll show up in search results.
⬇ Sample index.html · ⬇ Sample inside page
The most important thing to remember about search engine optimization is to provide real, valuable content for humans. If it’s useful, people will link to it, tweet it, and talk about it and it will show up in search results.
- Honest, naturally keyword rich text: if there are too many keywords for natural content, search engines will think you’re targeting them and penalize your site
- More content than code markup
- Clear information hierarchy: good navigation, good structure, good headings, etc.
- First line of first paragraph
- Proper semantics: search engines care what elements you choose and rank your content based on them
- Faster the website the better: Google penalizes websites that are slow
- Links to your site from reputable sources: the more incoming links from good, real sources, the better
- Clean, meaningful URLs & filenames: the words in URLs are extremely important
- Older domains: brand new domains have less power than domains that have existed for a while
- Visible to search engines without barriers: public, not behind a sign-in, not hidden by Javascript
- Metadata: enhanced semantics, rich information, Microformats, Microdata, RDFa Lite
<title>
— the most important for keywords, also visible as the link on search results<a>
— search engines look for keywords to apply to your site as well as the site you are linking to<h1>
,<h2>
,<h3>
, etc. — very important for keywords<strong>
,<em>
<meta name="description">
— sometimes used for keywords, other times not; also often used as the description in search results, but if the search engine deems it’s inappropriate something else will be used<img alt="">
— Alt attributes are how search engines classify images
- Web Developers SEO Cheat Sheet
- Google: Search Engine Optimization Starter Guide
- Common Sense SEO Checklist
- SEO Fundamentals for Web Designers
- Designers SEO Checklist
- The Beginners Guide to SEO
- Thoughts on SEO (39:46)
- New SEO process
- Writing useful page titles
- SEO Strategies for Designers
- Duplicate Content Penalty
- HTML5 Outliner
- HTML5 Outliner Chrome Extension
- Lynx Viewer (Also good for checking accessibility)
- Google Search Engine Results Previewer
- Keyword Frequency Counter
- Keyword Density Analyzer
- Complete List of Best SEO-Tools by Smashing Magazine
- Building Findable Websites by Aarron Walter
- SEOmoz
- Search Engine Land
- Matt Cutts @mattcutts
Page titles are the most important piece of content on your site. We always want to front-load the titles with the best keywords.
Here’s a common formula for the <title>
tag on your website.
Homepage
<title>Site/Company Name · Small keyword rich, catchy phrase · City, Country</title>
- The website’s name or the company’s name
- A small keyword rich and catchy phrase or tagline; 4–7 words
- The city and country, if it’s appropriate to the website, like a small business
Inside pages
<title>Page Title · Site/Company Name</title>
- The title of this page
- The website’s name or the company’s name
By following this format we can be sure that the most important words are at the start of the title—and therefore will most likely be read.
Every single page should have a completely unique title tag.
The most accessible separator for title tags is the middle dot (Option + Shift + 9): The Sound of the Accessible Title Text Separator.
The meta description tag may be used by search engines as the description underneath the link on the results page.
Search engines will determine whether the content of the meta description or the first <p>
tag on the page is the most appropriate content for humans.
<head>
⋮
<meta name="description" content="A short sentence describing the purpose and content of this individual page.">
⋮
</head>
Maximum length of 150 characters.
Every single page should have a completely unique meta description.
Providing a sitemap specifically for search engines is a great way to suggest what pages exist and how important they are.
The sitemap.xml
file is specifically formatted and targeted at search engines.
The sitemap.xml file should be at the root of your domain:
http://domain.com/sitemap.xml
⬇ Download sample robots.txt • ⬇ Download sample humans.txt
Two other files that are very useful are targeted at robots (search engines) and humans.
robots.txt
— used to block search engines from seeing parts of your site; includes a reference to thesitemap.xml
filehumans.txt
— a way to show who created the site, what tools where used, resources, and references
The robots.txt file and humans.txt file should be at the root of your domain:
http://domain.com/robots.txt
http://domain.com/humans.txt