How I fixed broken Twitter Card images generated from my WordPress posts?
My Website: https://baskabirkod.com
Robots.txt
User-agent: Twitterbot
Disallow:
Allow: /wp-content/uploads/*
User-agent: *
Allow: /
Allow: /*.js*
Allow: /*.css*
Allow: /?display=wide
Allow: /min/
Allow:/wp-content/cache/
Allow: /wp-content/uploas/*
Disallow: /*ref=*
Disallow: /*?ref=
Disallow: /*replytocom
Disallow: /*?replytocom
Disallow: /*comment-page-1
Disallow: /*comment
Disallow: /readme.html
Disallow: /*cid=
Disallow: /*?cid=
Disallow: /wp-admin/
Disallow: /xmlrpc.php
Disallow: /wp-content/languages/
Disallow: /wp-content/upgrade/
Allow: /wp-admin/admin-ajax.php
I use Yoast Seo Plugin for twitter meta tag.
My Twitter Meta Tag :
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:description" content="Windows Lisansını Başka Bilgisayara Taşıma işlemi çok sık karşımıza çıkan bir durum olmasa da ihtiyaç duyulduğunda baş ağrıtan bir konu. Bunun sebebi ise..." />
<meta name="twitter:title" content="Windows Lisansını Başka Bilgisayara Taşıma | Başka Bir Kod" />
<meta name="twitter:site" content="@baskabirkod" />
<meta name="twitter:image" content="https://baskabirkod.com/wp-content/uploads/2019/04/windows-lisansini-baska-bilgisayara-tasima-nasil-yapilir.jpg" />
I’m having the same issue and I’m hoping someone can help. Haven’t heard anything yet.
hsbk67
#3
maybe you need to add this to the robots.txt
User-agent: Twitterbot
Disallow: *
Allow: /images
Allow: /archives
system
Closed
#4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.