{"id":5850,"date":"2021-01-27T20:29:28","date_gmt":"2021-01-27T20:29:28","guid":{"rendered":"https:\/\/musilda.cz\/?p=5850"},"modified":"2021-01-27T20:29:28","modified_gmt":"2021-01-27T20:29:28","slug":"chyba-v-pluginu-yoast-seo-pri-automatickem-sdileni-na-socialni-site","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/chyba-v-pluginu-yoast-seo-pri-automatickem-sdileni-na-socialni-site\/","title":{"rendered":"Chyba v pluginu Yoast SEO p\u0159i automatick\u00e9m sd\u00edlen\u00ed na soci\u00e1ln\u00ed s\u00edt\u011b"},"content":{"rendered":"\n
Pou\u017e\u00edv\u00e1te Jetpack nebo podobn\u00fd plugin na sd\u00edlen\u00ed p\u0159\u00edsp\u011bvk\u016f na Facebooku? A st\u00e1v\u00e1 se v\u00e1m, \u017ee je p\u0159\u00edsp\u011bvek sd\u00edlen se \u0161patnou url, nebo obr\u00e1zkem? M\u016f\u017ee to b\u00fdt zp\u016fsobeno chybou v pluginu.<\/p>\n\n\n\n
Od verze 14.+ Yoast za\u010dal pou\u017e\u00edvat indexables, viz. https:\/\/yoast.com\/yoast-seo-14-0\/<\/a>. Zjednodu\u0161en\u011b \u0159e\u010deno, plugin p\u0159id\u00e1v\u00e1 do datab\u00e1ze nov\u00e9 tabulky<\/strong>, do kter\u00fdch si ukl\u00e1d\u00e1 \u00fadaje, kter\u00e9 pak ji\u017e nemus\u00ed generovat. <\/p>\n\n\n\n Probl\u00e9m vznik\u00e1 v tu chv\u00edli, kdy pou\u017e\u00edv\u00e1te n\u011bjak\u00fd zp\u016fsob automatick\u00e9 publikace \u010dl\u00e1nk\u016f na soci\u00e1ln\u00edch s\u00edt\u00ed. <\/p>\n\n\n\n P\u0159i psan\u00ed \u010dl\u00e1nku si WP toti\u017e ukl\u00e1d\u00e1 automatick\u00fd koncept<\/strong>, p\u0159\u00edpadn\u011b, kdy\u017e si koncept ulo\u017e\u00edte sami, Yoast toti\u017e je\u0161t\u011b nezn\u00e1 SEO url a tak si ulo\u017e\u00ed v\u00fdchoz\u00ed odkaz<\/strong> ve tvaru https:\/\/vasedomena.cz\/?p=123. <\/p>\n\n\n\n Z\u00e1rove\u0148 si ulo\u017e\u00ed i n\u011bjak\u00fd obr\u00e1zek z postu, proto\u017ee v\u011bt\u0161inou je\u0161t\u011b nem\u00e1te nastaven\u00fd n\u00e1hledov\u00fd obr\u00e1zek, nebo nen\u00ed vypln\u011bn v metaboxu pro soci\u00e1ln\u00ed s\u00edt\u011b.<\/p>\n\n\n\n Jakmile \u010dl\u00e1nek publikujete, tak Yoast sice \u00fadaje p\u0159egeneruje, ale k odesl\u00e1n\u00ed na soci\u00e1ln\u00ed s\u00edt\u011b<\/strong> dojde d\u0159\u00edv, ne\u017e se tak stane. <\/p>\n\n\n\n Nap\u0159\u00edklad JetPack vezme meta data, kter\u00e1 dostane od Yoasta, ale ta je\u0161t\u011b neupraven\u00e1. <\/p>\n\n\n\n Tak\u017ee na soci\u00e1ln\u00ed s\u00edt\u011b jde \u0161patn\u00e1 url a jin\u00fd obr\u00e1zek ne\u017e zam\u00fd\u0161l\u00edte. <\/strong><\/p>\n\n\n\n V kombinaci s cache se m\u016f\u017ee st\u00e1t, \u017ee bude chv\u00edli trvat, ne\u017e se v\u00e1m ve zdrojov\u00e9m k\u00f3du uprav\u00ed \u00fadaje na ty spr\u00e1vn\u00e9. <\/p>\n\n\n\n K probl\u00e9mu m\u016f\u017eete naj\u00edt konkr\u00e9tn\u00ed issue<\/strong> na Githubu, kter\u00e1 byla zalo\u017eena ji\u017e v kv\u011btnu 2020 a od t\u00e9 doby nen\u00ed chyba opravena – https:\/\/github.com\/Yoast\/wordpress-seo\/issues\/15246<\/a>. <\/p>\n\n\n\n