Metadata for SEO Social

by John Pennock 10/4/2023
Source code showing head elements in html

Images should be glorious.

StandardPixelsFormatSize
Social - X & OG1200x600JPG~500k
Social - X/Twitter1200x600 Summary Large CardJPG~500k
Social - OG1200x630JPG~500k
SEO Search ResultsFav Icon SuiteFavNA

Fav Icon Suite generator - favicon.io

X/Twitter

X/Twitter Card Images

X/TwitterAspectMinMaxRecommended
Twitter summary large image card - DEFAULT Site Share2x1300x1574096x20481024x512
Twitter summary cardsquare 1x1144x1444096x4096512x512
Profile photosquare400x400
Landscape post16x91600x900
Portrait postcustom1080x1350
Square postsquare1080x1080
Cover photo3x11500x500
  • Images must be less than 5 MB in size
  • Twitter Image Formats - JPG PNG WEBP, GIF (Only the first frame of an animated GIF will be used). SVG is not supported.

X/Twitter Meta Tags

  <meta name="twitter:title" content="Pennock Projects">
  <meta name="twitter:description" content="John Pennock's software development blog and portfolio">
  <meta name="twitter:image" content="https://pennockprojects.com/images/PennockProjectsFB.jpg">
  <meta name="twitter:image:alt" content="Pennock Projects Logo">
  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:site" content="@PennockProjects">
  <meta name="twitter:creator" content="@JohnPennock">

Note: twitter:image can not be relative1

X/Twitter Validator

Open Graph Posting

Open Graph Images

Open GraphAspectRecommended
Wall2x1 (kind of)1200 x 630

A file size of less than 8 MB.

Open Graph Meta tags

  <meta property="og:description" content="John Pennock's software development blog and portfolio">
  <meta property="og:type" content="article">
  <meta property="og:image" content="/images/PennockProjectsFB.jpg">
  <meta property="og:image:alt" content="Pennock Projects Logo">
  <meta property="og:site_name" content="Pennock Projects">
  <meta property="og:url" content="https://pennockprojects.com/">
  <meta property="og:title" content="Pennock Projects">

Note: og:image can be relative when og:url is used.

OG Facebook LinkedIn Validators

SEO

Typically all your pages will be represented by your fav icon suite. Starting with at least a 180x180 image use favicon.io to create a package of icons as well as a webmanifest file.

    {
      rel: 'icon',
      type: 'image/x-icon',
      href: '/favicon.ico'
    },
    {
      rel: 'apple-touch-icon',
      sizes: '180x180',
      type: 'image/png',
      href: '/apple-touch-icon.png'
    },
    {
      rel: 'icon',
      sizes: '32x32',
      type: 'image/png',
      href: '/favicon-32x32.png'
    },
    {
      rel: 'icon',
      sizes: '16x16',
      type: 'image/png',
      href: '/favicon-16x16.png'
    },
    {
      rel: 'manifest',
      href: '/site.webmanifest'
    },

SEO Meta Tags

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Pennock Projects</title>
  <link rel="icon" type="image/x-icon" href="/favicon.ico">
  <link rel="apple-touch-icon" sizes="180x180" type="image/png" href="/apple-touch-icon.png">
  <link rel="icon" sizes="32x32" type="image/png" href="/favicon-32x32.png">
  <link rel="icon" sizes="16x16" type="image/png" href="/favicon-16x16.png">
  <link rel="manifest" href="/site.webmanifest">
  <meta name="robots" content="index, follow">
  <meta name="copyright" content="© 2024 by John Pennock">
  <link rel="canonical" href="https://pennockprojects.com/">
  <meta name="author" content="John Pennock">
  <meta name="description" content="John Pennock's software development blog and portfolio">

Blog Posts

SEO and Social

Footnotes

  1. from the troubleshooter article "Are you using an absolute and full URL (including the https protocol piece), not a relative one?"