Changes
Title
unchanged
How to add Schema.org markup to Yii2 pages
Category
unchanged
How-tos
Yii version
unchanged
2.0
Tags
changed
SEO,JSON,API,google,meta tags,schema.org,metadata,microdata,SERP,markup
Content
unchanged
[...]
```
Here we redefine the schema for this page with more complex markup: a product with an offer.
This way all the pages on our website will have a schema.org markup defined: in the layout we have a default and in other pages we can redefine setting the value on `$this->params['schema']`.