You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The so-called Google Rich Snippets are extensions of the usual search results. Instead of just title and meta-desc, Google can display additional information directly in the search results.
For this to work, the information in the source code must be correctly marked up. This can be done, for example, via JSON-LD or RDFa (please let me know which you prefer).
First, you have to decide on a type on Schema.org. Among these types, there are some specifically for question pages such as phpMyFAQ:
https://schema.org/QAPage
A QAPage is a WebPage focused on a specific Question and its Answer(s), e.g. in a question answering site or documenting Frequently Asked Questions (FAQs).
https://schema.org/FAQPage
A FAQPage is a WebPage presenting one or more "Frequently asked questions" (see also QAPage).
An example of what this could look like for one of the questions pages:
< script type = 'application/ld+json' > {
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Why is the coffee all gone?",
"acceptedAnswer": {
"@type": "Answer",
"text": "The coffee always runs out so quickly because you drink too much of it."
}
}
]
} < /script>
This example would be the simplest possible form of a rich snippet.
We can also use some other information on the questions page for this.
primaryImageOfPage
A post image, but that doesn't exist in phpMyFAQ yet. 😡
I don't mean images in the content field. I mean a separate image next to the text field, the post image. This image could then also be marked accordingly.
URL: the canonical URL of the post
(Sure it already is marked in a way... but that's no Rich Snippets.)
Example of aggregateRating
The rating function already exists, you just have to mark it up correctly:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The so-called Google Rich Snippets are extensions of the usual search results. Instead of just title and meta-desc, Google can display additional information directly in the search results.
For this to work, the information in the source code must be correctly marked up. This can be done, for example, via JSON-LD or RDFa (please let me know which you prefer).
First, you have to decide on a type on Schema.org. Among these types, there are some specifically for question pages such as phpMyFAQ:
https://schema.org/QAPage
A QAPage is a WebPage focused on a specific Question and its Answer(s), e.g. in a question answering site or documenting Frequently Asked Questions (FAQs).
https://schema.org/FAQPage
A FAQPage is a WebPage presenting one or more "Frequently asked questions" (see also QAPage).
An example of what this could look like for one of the questions pages:
This example would be the simplest possible form of a rich snippet.
We can also use some other information on the questions page for this.
Breadcrumbs
primaryImageOfPage
A post image, but that doesn't exist in phpMyFAQ yet. 😡
I don't mean images in the content field. I mean a separate image next to the text field, the post image. This image could then also be marked accordingly.
URL: the canonical URL of the post
(Sure it already is marked in a way... but that's no Rich Snippets.)
Example of aggregateRating
The rating function already exists, you just have to mark it up correctly:
datePublished
The date that is already there just has to be marked up correctly.
inLanguage
The language used.
Keywords
Keywords are used anyway, just mark them up correctly.
etc.
The reward for the effort is better Google rankings and therefore more traffic.
Instead of implementing these things without thinking about it, I would like to have them on a test page first.
Then there is a tool from Google to check rich snippets:
https://search.google.com/test/rich-results
Only when you are satisfied with the results of this test then you implement it.
Before I make more effort, I would like to know whether you support this.
Regards, Christian
Beta Was this translation helpful? Give feedback.
All reactions