Sign in to follow this  
Followers 0
Detricks

Ошибки синтаксиса. Недопустимый тип значения "@context"

7 posts in this topic

Всем привет!

Столкнулся с проблемой. Гугл Вебмастер выдает ошибку. 

В структурированных данных обнаружены ошибки синтаксиса.

Недопустимый тип значения "@context"

Движок - Вордпресс

Пользуюсь Yoast SEO

Может кто знает как это исправить?

Share this post


Link to post
Share on other sites

contetxt - это используемый словарь и ошибка может быть вообще где угодно

Давайте код

Share this post


Link to post
Share on other sites

{"@context": "//schema.org","@graph":[{"@type":["Person","Organization"],"@id":"//master-fishing.com/#/schema/person/ce0e1e5c501f5c437897365ef9d0a3fc","name":"\u0421\u0435\u0440\u0433\u0435\u0439 \u042f\u043a\u043e\u0432\u043b\u0435\u0432\u0438\u0447","image":{"@type":"ImageObject","@id":"//master-fishing.com/#personlogo","url":"//secure.gravatar.com/avatar/946be51e97ec9c5ddff8a1cb54573926?s=96&d=mm&r=g","caption":"\u0421\u0435\u0440\u0433\u0435\u0439 \u042f\u043a\u043e\u0432\u043b\u0435\u0432\u0438\u0447"},"logo":{"@id":"//master-fishing.com/#personlogo"},"sameAs":[]},{"@type":"WebSite","@id":"//master-fishing.com/#website","url":"//master-fishing.com/","name":"\u0420\u044b\u0431\u043e\u043b\u043e\u0432\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0430\u043b Master Fishing","publisher":{"@id":"//master-fishing.com/#/schema/person/ce0e1e5c501f5c437897365ef9d0a3fc"},"potentialAction":{"@type":"SearchAction","target":"//master-fishing.com/?s={search_term_string}","query-input":"required name=search_term_string"}},{"@type":"ImageObject","@id":"//master-fishing.com/raznovidnosty/sudak/na-chto-lovit-sudaka-letom/#primaryimage","url":"//master-fishing.com/wp-content/uploads/2019/08/m-f8586.jpg","width":700,"height":400},{"@type":"WebPage","@id":"//master-fishing.com/raznovidnosty/sudak/na-chto-lovit-sudaka-letom/#webpage","url":"//master-fishing.com/raznovidnosty/sudak/na-chto-lovit-sudaka-letom/","inLanguage":"ru-RU","name":"\u041d\u0430 \u0447\u0442\u043e \u043b\u043e\u0432\u0438\u0442\u044c \u0441\u0443\u0434\u0430\u043a\u0430 \u043b\u0435\u0442\u043e\u043c. \u041b\u043e\u0432\u043b\u044f \u0441\u0443\u0434\u0430\u043a\u0430 \u0432 \u0438\u044e\u043d\u0435, \u0438\u044e\u043b\u0435, \u0430\u0432\u0433\u0443\u0441\u0442\u0435","isPartOf":{"@id":"//master-fishing.com/#website"},"primaryImageOfPage":{"@id":"//master-fishing.com/raznovidnosty/sudak/na-chto-lovit-sudaka-letom/#primaryimage"},"datePublished":"2019-08-12T07:49:42+00:00","dateModified":"2019-08-13T06:55:55+00:00","description":"\u041a\u0430\u043a \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u043a \u0440\u044b\u0431\u0430\u043b\u043a\u0435 \u043d\u0430 \u0441\u0443\u0434\u0430\u043a\u0430 \u043b\u0435\u0442\u043e\u043c. \u041d\u0430 \u0447\u0442\u043e \u043a\u043b\u044e\u0451\u0442 \u0441\u0443\u0434\u0430\u043a \u043b\u0435\u0442\u043e\u043c. \u0412\u044b\u0431\u043e\u0440 \u043c\u0435\u0441\u0442\u0430 \u0434\u043b\u044f \u043b\u043e\u0432\u043b\u0438 \u0441\u0443\u0434\u0430\u043a\u0430. \u041b\u043e\u0432\u043b\u044f \u0441\u0443\u0434\u0430\u043a\u0430 \u0432 \u0438\u044e\u043d\u0435, \u0438\u044e\u043b\u0435, \u0430\u0432\u0433\u0443\u0441\u0442\u0435","breadcrumb":{"@id":"//master-fishing.com/raznovidnosty/sudak/na-chto-lovit-sudaka-letom/#breadcrumb"}},{"@type":"BreadcrumbList","@id":"//master-fishing.com/raznovidnosty/sudak/na-chto-lovit-sudaka-letom/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"item":{"@type":"WebPage","@id":"//master-fishing.com/","url":"//master-fishing.com/","name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430"}},{"@type":"ListItem","position":2,"item":{"@type":"WebPage","@id":"//master-fishing.com/raznovidnosty/sudak/na-chto-lovit-sudaka-letom/","url":"//master-fishing.com/raznovidnosty/sudak/na-chto-lovit-sudaka-letom/","name":"\u041d\u0430 \u0447\u0442\u043e \u043b\u043e\u0432\u0438\u0442\u044c \u0441\u0443\u0434\u0430\u043a\u0430 \u043b\u0435\u0442\u043e\u043c"}}]},{"@type":"Article","@id":"//master-fishing.com/raznovidnosty/sudak/na-chto-lovit-sudaka-letom/#article","isPartOf":{"@id":"//master-fishing.com/raznovidnosty/sudak/na-chto-lovit-sudaka-letom/#webpage"},"author":{"@id":"//master-fishing.com/#/schema/person/ce0e1e5c501f5c437897365ef9d0a3fc"},"headline":"\u041d\u0430 \u0447\u0442\u043e \u043b\u043e\u0432\u0438\u0442\u044c \u0441\u0443\u0434\u0430\u043a\u0430 \u043b\u0435\u0442\u043e\u043c","datePublished":"2019-08-12T07:49:42+00:00","dateModified":"2019-08-13T06:55:55+00:00","commentCount":0,"mainEntityOfPage":{"@id":"//master-fishing.com/raznovidnosty/sudak/na-chto-lovit-sudaka-letom/#webpage"},"publisher":{"@id":"//master-fishing.com/#/schema/person/ce0e1e5c501f5c437897365ef9d0a3fc"},"image":{"@id":"//master-fishing.com/raznovidnosty/sudak/na-chto-lovit-sudaka-letom/#primaryimage"},"keywords":"\u0432\u044b\u0431\u043e\u0440 \u043c\u0435\u0441\u0442\u0430 \u043b\u043e\u0432\u043b\u0438 \u0441\u0443\u0434\u0430\u043a\u0430 \u043b\u0435\u0442\u043e\u043c,\u043a\u0430\u043a \u043b\u043e\u0432\u0438\u0442\u044c \u0441\u0443\u0434\u0430\u043a\u0430 \u0432 \u0438\u044e\u043d\u0435,\u043b\u043e\u0432\u043b\u044f \u0441\u0443\u0434\u0430\u043a\u0430 \u0432 \u0430\u0432\u0433\u0443\u0441\u0442\u0435,\u043b\u043e\u0432\u043b\u044f \u0441\u0443\u0434\u0430\u043a\u0430 \u0432 \u0438\u044e\u043b\u0435,\u043d\u0430 \u0447\u0442\u043e \u043a\u043b\u044e\u0451\u0442 \u0441\u0443\u0434\u0430\u043a \u043b\u0435\u0442\u043e\u043c,\u043d\u0430 \u0447\u0442\u043e \u043b\u043e\u0432\u0438\u0442\u044c \u0441\u0443\u0434\u0430\u043a\u0430 \u043b\u0435\u0442\u043e\u043c","articleSection":"\u0421\u0443\u0434\u0430\u043a"}]}</script>

Share this post


Link to post
Share on other sites

В документе JSON-LD задан недопустимый тип. Должно быть: 

"@context":"https://schema.org"

У вас:

"@context":"//schema.org"

Вердикт: перестарались с плагинами для реализации https:// протокола. Плагины для https - зло. Это необходимо делать без плагинов!

A1exandr likes this

Share this post


Link to post
Share on other sites
В 04.09.2019 в 1:17 PM, files сказал:

В документе JSON-LD задан недопустимый тип. Должно быть: 


"@context":"https://schema.org"

У вас:


"@context":"//schema.org"

Вердикт: перестарались с плагинами для реализации https:// протокола. Плагины для https - зло. Это необходимо делать без плагинов!

Спасибо! Помогли!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.