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

前端 未结 5 2173
自闭症患者
自闭症患者 2020-12-06 22:49

I want to add Corporate Contacts in Google Search. I test the following code in Google\'s Structured Data Testing Tool, but it threw this error:

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-06 23:05

    I get this error:

    
    

    If you use https://www.thegioididong.com for example:

    
    

    You will get the following errors in the testing tool:

    https://www.thegioididong.com/ (All values ​​provided for https://search.google.com/structured-data/testing-tool/ must have the same domain.)

    This happens because you the code is not on the web before checking.

    Upload the code to the website, then check back in the testing tool. Now you won't get any more errors.

提交回复
热议问题