0

我的网站出现问题,ogp 没有出现在 discord 或 ogp 检查爬虫 (ierakko) 中,但在 opengraphcheck ( https://opengraphcheck.com/result.php?url=https%3A%2F%2Fcorepunk. org.pl ) 也适用于 facebook 附件/共享调试器并正常显示

网站:https ://corepunk.org.pl/

另外,我知道 htaccess 重定向在这里可能有问题,所以也在这里发布它们。


RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R] # <- for test, for prod use [L,R=301]

RewriteCond %{HTTPS} off 
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
    <meta property="og:title" content="CorePunk PL" />
    <meta property="og:description" content="Strona społeczności CorepunkPL, która stara się łączyć graczy o podobnych zainteresowaniach oraz publikować wiadomości związane z grą Corepunk w języku polskim." />
    <meta property="og:url" content="https://corepunk.org.pl" />
    <meta property="og:locale" content="pl_PL" />
    <meta property="og:site_name" content="CorepunkPL" />
    <meta property="og:image" content="https://corepunk.org.pl/_img/ikonka.jpg" />
    <meta property="og:image:type" content="image/jpg" />
    <meta property="og:image:width" content="512" />
    <meta property="og:image:height" content="427" />
    <meta property="og:image:alt" content="Logo CorepunkPL" />
    <meta property="og:type" content="website" />

获得任何建议为什么这不起作用会很有趣,在此先感谢您的任何答案:)

4

0 回答 0