Hello everyone, today i have received an email from google asking to specify as acceptedAnswer or suggestedAnswer
https://developers.google.com/search/docs/data-types/qapage
if I view page source code everything is looking okay.
<script type="application/ld+json">[{"@context":"http:\/\/schema.org","@type":"QAPage","publisher":{"@type":"Organization","name":"Forum","url":"https:\/\/www.site.com\/ask","description":"forum.","logo":"https:\/\/www.site.com\/ask\/assets\/logo.png"},"image":"https:\/\/i.ytimg.com\/vi\/0Lafs\/hqdefault.jpg","datePublished":"2020-04-04T16:18:15+00:00","description":"ra?","headline":"ra?","url":"https:\/\/www.site.com\/ask\/d\/38-ra","mainEntity":{"@type":"Question","name":"ra","text":"\u003Cp\u003E\u003Cspan data-s9e-mediaembed=\"youtube\" style=\"display:inline-block;width:100%;max-width:640px\"\u003E\u003Cspan style=\"display:block;overflow:hidden;position:relative;padding-bottom:56.25%\"\u003E\u003Ciframe allowfullscreen=\"\" loading=\"lazy\" scrolling=\"no\" style=\"background:url(https:\/\/i.ytimg.com\/vi\/0Lafs\/hqdefault.jpg) 50% 50% \/ cover;border:0;height:100%;left:0;position:absolute;width:100%\" src=\"https:\/\/www.youtube.com\/embed\/0Lafs\"\u003E\u003C\/iframe\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/p\u003E\n\n\u003Cp\u003Era?\u003C\/p\u003E\n","dateCreated":"2020-04-04T16:18:15+00:00","author":{"@type":"Person","name":"User"},"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"\u003Cblockquote class=\"uncited\"\u003E\u003Cdiv\u003E\u003Cp\u003E\u003Ca href=\"https:\/\/www.site.com\/ask\/d\/38\/1\" class=\"PostMention\" data-id=\"140\"\u003EUser\u003C\/a\u003E ra?\u003C\/p\u003E\u003C\/div\u003E\u003C\/blockquote\u003E\n\n\u003Cp\u003Esituation\u003C\/p\u003E \n","dateCreated":"2020-06-18T13:56:01+00:00","url":"https:\/\/www.site.com\/ask\/d\/38-ra\/4","author":{"@type":"Person","name":"V"},"upvoteCount":0},"suggestedAnswer":[]}},{"@context":"http:\/\/schema.org","@type":"BreadcrumbList","itemListElement":{"@type":"ListItem","name":"Stars","item":"https:\/\/www.site.com\/ask\/t\/stars","position":4}},{"@context":"http:\/\/schema.org","@type":"WebSite","url":"https:\/\/www.site.com\/ask\/","potentialAction":{"@type":"SearchAction","target":"https:\/\/www.site.com\/ask\/?q={search_term_string}","query-input":"required name=search_term_string"}}]</script>
but as per google dev site example it should look like
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "QAPage",
"mainEntity": {
"@type": "Question",
"name": "How many ounces are there in a pound?",
"text": "I have taken up a new interest in baking and keep running across directions in ounces and pounds. I have to translate between them and was wondering how many ounces are in a pound?",
"answerCount": 3,
"upvoteCount": 26,
"dateCreated": "2016-07-23T21:11Z",
is something wrong with my website it is showing extra https:\/\/www.site.com\/ ?
i have checked google webmaster error log its mentioning below code as red colour
"Question","name":"ra","text":"\u003Cp\u003E\u003Cspan data-s9e-mediaembed=\"youtube\" style=\"display:inline-block;width:100%;max-width:640px\"\u003E\u003Cspan style=\"display:block;overflow:hidden;position:relative;padding-bottom:56.25%\"\u003E\u003Ciframe allowfullscreen=\"\" loading=\"lazy\" scrolling=\"no\" style=\"background:url(https:\/\/i.ytimg.com\/vi\/0Lafs\/hqdefault.jpg) 50% 50% \/ cover;border:0;height:100%;left:0;position:absolute;width:100%\" src=\"https:\/\/www.youtube.com\/embed\/0Lafs\"\u003E\u003C\/iframe\u003E\u003C\/span\u003E\u003C\/span\u003E\u003C\/p\u003E\n\n\u003Cp\u003Era?\u003C\/p\u003E\n","dateCreated":"2020-04-04T16:18:15+00:00","author":{"@type":"Person","name":"User"},"answerCount":1
I do not have s9e-mediaembed extension I am using FoF embed .. is google showing the error because of this?
I am using the latest SEO and FoF Best answer, FoF Site map extensions
am I missing anything?
//Update issues resolved after updating both question and answer