Difference between #165 and #166 of
Yii v2 snippet guide

Revision #166 has been created by rackycz on Oct 18, 2019, 9:54:17 AM with the memo:

« previous (#165) next (#167) »


Title unchanged

Yii v2 snippet guide

Category unchanged


Yii version unchanged


Tags unchanged


Content changed

It will show some statistics and recommend enhancements so that your web is nicely shown on FB and Twitter or found by Google.

Important are for example OG meta tags or [TWITTER meta tags](https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/summary). They are basicly the same. Read more [here](https://css-tricks.com/essential-meta-tags-social-media/). You can test them at [iframely.com](http://debug.iframely.com).

Basic tags are following and you should place them to head:
- Note that Twitter is using attribute "name" instead of
attribute "property" which is defined in OG ... 
- btw OG was introduced by Facebook. Twitter can process it as well, but SEO optimizers will report an error when Twitter's tags are missing.


<!DOCTYPE html>
4 0
Viewed: 46 307 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: 2 days ago
Update Article


View all history