Customize post/page Social Sharing content with Yoast
Understanding the Yoast SEO plugin.
With Yoast SEO, you can easily customize the preview appearance when sharing links on social media. This includes previews for Facebook, LinkedIn and Twitter, so you can ensure you’re catching eyes and leading traffic to your site.
You can set up social templates to be configured for specific page types (i.e. blog previews, document previews, page previews), as well as create individual custom previews per page.
Social previews visualize what your post will look like when shared on social media. You can optimize your image, title and description for Facebook and Twitter before you publish your post.
Instructions
- In the specific page/blog post, go to SEO → Social, the Account tab and fill in your social media accounts.
- Go to SEO → Social, the Facebook tab and make sure OpenGraph is enabled.
- Set a good default image under the Facebook settings. This image is used when you have a post or page that does not contain an image. It’s important to set this image, as this ensures that every one of your posts or pages will have an image when shared. Facebook is fairly forgiving with uploading images but 1200px by 630px should work well.
- Do the same for Twitter.