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

前端 未结 7 1617
太阳男子
太阳男子 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条回答
  •  太阳男子
    2020-12-31 07:34

    If you change your URL to "https://search.google.com/structured-data/testing-tool/", the tool will drop the error, just make sure before you put the code on your website that you update it.

    Also, checking Search Console is likely a more reliable way (currently) to see if your markup has an error.

提交回复
热议问题