|
TIPS Using the og:image:width and og:image:height tags helps ensure a perfect snippet the first time someone shares it. In WordPress, Yoast adds these automatically. This is its syntax. <meta property="og:image:width" content="1200" /> <meta property="og:image:height" content="630" /> When I actually use the FB sharing debugger, it looks like this. What matters most is what the snippet looks like. It's no big deal if you miss a less important tag or set it incorrectly. You can safely ignore warnings about unimportant tags like fb:app_id . If something goes wrong and you update your tags, use the Scrape Again button to pull out the new data. If you don't see any changes after crawling, clear the cache using Batch
Invalidator and repeat. Repeat this process with Twitter Card Validator and LinkedIn Post Inspector to ensure your content appears as intended on all networks. Note : It turns out that Twitterbot is the only one that follows robots.txt directives. Both Western Sahara Email List Facebook and LinkedIn allow crawlers to scrape and display your content even if you don't allow them to be crawled. This was surprising, but make sure that every URL you share can be crawled, even if it's just for Twitter. How to audit Open Graph tags If your site already has hundreds of pages and you're not sure which ones already have Open Graph tags, you can use a tool like Ahrefs' Site Audit to check all your pages at once. When you run a crawl and access the Social Tags report,

you will see all issues related to Open Graph and Twitter Card tags. Click on a flagged warning to see its description and advice on how to fix it. Click View affected URLs to see the issues affecting each URL, along with associated metrics. One of these metrics is organic traffic, which you can use to sort the table and prioritize which URLs to fix. Remember that pages that get a lot of views are more likely to be shared. summary OG tags are important for building your social media presence, but you don't need to spend a lot of time on them. Let's focus on mastering the basics. Add tags, check social media previews, and debug. Did we miss something in this article? Leave a comment or message me on Twitter . Author profile Michal Pecánek Ahrefs SEO & Marketing Educator. Michael is a marketer specializing in SEO with over 6 years of experience working and consulting in B2B SaaS companies. ・I want to appear high on Google search ・I want to increase access to my website ・I want to improve and improve my CV for inquiries.
|
|