user3845133
user3845133

Reputation:

Rich Snippets - sitename in search (canonical website URL)

Using the example from Google structured data docs, I've added the Website Microdata to my site.

What bothers me is the description of the url prop:

url = the URL of your official website (required)

Does official website mean the base URL of my website or the URL of the current requested page?

I know only that it is not a good practice to have same canonical URL on two different pages and the above description really confuse me.

Upvotes: 1

Views: 116

Answers (1)

unor
unor

Reputation: 96607

For the WebSite type, the value of the url property would be the URL that represents the whole website. This is typically the URL of the homepage.

(And for the WebPage type, it would be the URL of that webpage.)

Upvotes: 2

Related Questions