125 lines
4.0 KiB
Markdown
Raw Normal View History

2014-12-18 18:57:45 +01:00
# Search Engine Optimization (SEO)
## Domain
* use a speaking URL
* differanciate between subdomain and subdirectory
## Title
* every page shound have a unique speaking title (60 - 100 characters)
2015-01-06 23:47:00 +01:00
```
<title>Website Title goes here</title>
```
2014-12-18 18:57:45 +01:00
## Keywords
2015-01-07 23:39:32 +01:00
* select specific keywords
2014-12-18 18:57:45 +01:00
* every page shound have unique keywords
* max. 10 keywords
2015-01-06 23:47:00 +01:00
```
<meta name="keywords" content="10 words">
```
2014-12-18 18:57:45 +01:00
## Description
* every page shound have a unique description
* max. 160 characters
2014-12-18 18:57:45 +01:00
2015-01-06 23:47:00 +01:00
```
<meta name="description" content="max 160 Chars">
2015-01-06 23:47:00 +01:00
```
2014-12-18 18:57:45 +01:00
## Content
* Content matters the most
* Page Title should appear 3% of content length
* add ~ 3 internal links
* use `strong` tag
* do not provide duplicated content
2014-12-18 19:01:52 +01:00
* article should be at least 300 words
2014-12-18 18:57:45 +01:00
## Headings
* Clear structure `H1` -` H6`
## Images
* Alt tag (60 - 70 characters)
* Use a CDN or a subdomain to allow parallal http-requests
## Links
* add meaningful title
* Only add external links if you got a backlink to your site
2015-02-16 22:14:35 +01:00
* add `rel="nofollow"` attribute to external links
2014-12-18 18:57:45 +01:00
## Social Media
* Social link rank up your site
2015-01-06 23:47:00 +01:00
* use social snippets [OpenGraph](http://ogp.me/), [Facebook](https://developers.facebook.com/docs/sharing/best-practices), [Twitter](https://dev.twitter.com/cards/getting-started)
* Authorship information
`<link rel="author" href="https://plus.google.com/u/0/[GOOGLE+ ID]">`
2015-01-06 23:47:00 +01:00
`<a href="https://plus.google.com/u/0/[GOOGLE+ ID]?rel=author">Google</a>`
* [social profiles](https://developers.google.com/webmasters/structured-data/customize/social-profiles)
2015-01-06 23:47:00 +01:00
```
<span itemscope itemtype="http://schema.org/Organization">
<link itemprop="url" href="http://www.your-company-site.com">
<a itemprop="sameAs" href="http://www.facebook.com/your-company">Facebook</a>
<a itemprop="sameAs" href="http://www.twitter.com/YourCompany">Twitter</a>
</span>
```
2014-12-18 18:57:45 +01:00
## Sitemap
* provide a `.xml` sitemap
## Errors and access
* provide 403 - Acced denied page
* provide 404 - Page not found page
* add a `robots.txt` file
2015-01-06 23:47:00 +01:00
* Avoid `FILE_NOT_FOUND` errors
2014-12-18 18:57:45 +01:00
## HTAccess
* enable GZip
* enable caching
## Performance
* Performance and loading time matters
* only serve concatenated and minified files
* if possible no redirects
2015-01-06 23:47:00 +01:00
* compress images ([ImageOptim](https://imageoptim.com/))
2014-12-18 18:57:45 +01:00
## UX
* User friendly site
* clickable links should not be too small
## Mobile
2015-01-06 23:47:00 +01:00
* add viewport tag
```
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0">
```
2015-01-06 23:47:00 +01:00
* create a mobile-friendly site ([shown in search results](http://googlewebmastercentral.blogspot.be/2014/11/helping-users-find-mobile-friendly-pages.html))
* [Mobile-Friendly Test](https://www.google.com/webmasters/tools/mobile-friendly/)
2015-02-16 22:19:45 +01:00
* [AppLinks](http://applinks.org/documentation/)
2014-12-18 18:57:45 +01:00
## Validation and accessibility
2015-01-06 23:47:00 +01:00
* Write valid markup ([HTML Validator](http://validator.w3.org/) [CSS Validator](http://jigsaw.w3.org/css-validator/))
* use [WAI-Aria](http://www.w3.org/TR/wai-aria/) tags
* use [RichSnippets](http://schema.org/)
## Security
* [HTTPS as a ranking signal](http://googlewebmastercentral.blogspot.be/2014/08/https-as-ranking-signal.html)
## Search
* [Provide a custom search](https://developers.google.com/custom-search/) ([schema.org/SearchAction](http://schema.org/SearchAction), [RichSnippet](https://developers.google.com/webmasters/richsnippets/sitelinkssearch?utm_source=wmc-blog&utm_medium=direct-referral&utm_campaign=sitelinks-searchbox))
## Tools
* [Google Webmasters](https://www.google.com/webmasters/)
* [Bing Webmasters](http://www.bing.com/toolbox/webmaster)
* [Google Analytics](http://www.google.com/analytics/)
* [PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights/)
* [AdWords Keyword Tool](https://adwords.google.com/KeywordPlanner)
* [Google Trends](http://www.google.com/trends/)
* [Structured Data Testing Tool](http://www.google.com/webmasters/tools/richsnippets)
* [Google+ Snippet Creator](https://developers.google.com/+/web/snippet/)
* [seo tool by feedthebot](http://www.feedthebot.com/tools/)
* [Facebook Debugger](https://developers.facebook.com/tools/debug)