SEO Summary Techniques

Summary

Search engine optimization (SEO) is the process of affecting the visibility of a website or a web page in a search engine’s unpaid results.

I don’t will explain why I recommand these techniques, there are a lot of websites for that.

So this is my SEO recommandations

Document

  • <h1> must be equal to <title>
  • multiple <h1> is not a problem only if you don’t abuse (this website have 2 <h1>)
  • <title> must be unique on whole website
  • <meta> description usefull for google snippet
  • <meta> keywords is useless

Images

  • Add alt attribute to <img>
    • less than 80 caracters
    • describe image
    • contains keywords from article
  • Add title attribute to <a>
    • less than 80 caracters
    • describe what is it
    • contains keywords from article

Relations

rel=next rel=prev

When using pagination, must use in <head> with <link>

rel=nofollow (in <a>)

Don’t follow a link when

  • you don’t trust like spam comment
  • you add Sponsorised links
  • you linked a content which have no relation with your content

rel=canonical (in <head>)

Declare referent content and dodge duplicate content

rel=alternate

Alternate version of your page like printer mode

rel=author

Linking author page, authorship with google+ is now abandoned

rel=bookmark

For permalinks

rel=tag

For list of keywords or tags

Sitemap and Feed

XML sitemaps describe the whole set of URLs within a site, while RSS/Atom feeds describe recent changes.

For optimal crawling, use both XML sitemaps and RSS/Atom feeds.

  • Lists URLs that can be fetched by Googlebot
  • Include only canonical URLs
  • Sitemap must be updated each day or more but do the ping request only 1 day

How to ping google for new sitemap

http://google.com/ping?sitemap=http://www.example.com/sitemap.gz

Search bar in Google

How to enable

Have a search form and add this script

<script type="application/ld+json">
{
   "@context": "http://schema.org",
   "@type": "WebSite",
   "url": "https://www.example-petstore.com/",
   "potentialAction": {
     "@type": "SearchAction",
     "target": "https://query.example-petstore.com/search?q={search_term_string}",
     "query-input": "required name=search_term_string"
   }
}
</script>

How to disable

<meta name="google" content="nositelinkssearchbox" />

Indexing Infinite scroll page

Have a paginate version and use link rel=prev et link rel=next

Facebook Open Graph

Image size must be greater than 200x200px

<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="This is my page - Example website" />
<meta property="og:url" content="http://example.com" />
<meta property="og:image" content="http://example.com/mypicture.jpg" />
<meta property="og:site_name" content="Example website" />

Twitter card

Add meta in html
Image size must be greater than 280x150px and less than 1MB

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@flickr" />
<meta name="twitter:title" content="Small Island Developing States Photo Submission" />
<meta name="twitter:description" content="View the album on Flickr." />
<meta name="twitter:image" content="https://farm6.staticflickr.com/5510/14338202952_93595258ff_z.jpg" />
<meta name="twitter:url" content="https://www.flickr.com/photos/unicphoto/sets/72157645001703785/" />

For keeping points with Google algorithm

Https + mobile first + pagespeed