Google SDTT error: “All values provided for http://www.example.com/ must have the same domain.”

前端 未结 7 1599
太阳男子
太阳男子 2020-12-31 07:03

When I copy/paste JSON-LD example from Google Documentation (code-snippet below) I get an error in the Structured Data Testing Tool:

http://www.

7条回答
  •  Happy的楠姐
    2020-12-31 07:41

    If you are pasting some code on the page and running it, Google assumes that it should be an example page. Instead do like this,

    1. Test all other except "url"
    2. Update the index.html on your server
    3. Finally run test with your url (Choose New Test > Fetch URL)

    Now you will not see the error again.

提交回复
热议问题