-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Page properties for Open Graph, Twitter and meta data and canonical URL #159
Comments
Instead to use no image if none og-image is specified isnt it better to use the a fallback? Maybe a global fallback defined in the cms config or the first image element on the page? Or both? New page properties require a migration. |
I like that idea, but this would be very hard to do. Also i assume this is what the crawlers would do anyhow, if there is no image - they will pick one. @rolandschaub It makes sense to upload the image direct from page settings, therefore we need a new migration. |
What would be the value of canonical url? How can we ensure its the canonical url? |
Regarding og-image: I think it's okay to configure a global fallback. If undefined, the tag should not be output so that Facebook and others can decide themselves what image to choose (if any are included in the page's content). I would not use the first image in the content as default, as FB et al. might make a better guess which image is relevant for the page. Regarding canonical url: The default value would be the current URL. The website editor (or a module like an online shop) has to explicitly set another URL if the current URL is not the canonical one. I might be wrong, but this makes sense to me. |
@rolandschaub is right. Google recommends using self-referencing canonical tags. |
Make the following meta information (Open Graph, Twitter, canonical URL) editable as page properties:
Summary of the page properties required:
If no values are defined, the following default values should be used:
The text was updated successfully, but these errors were encountered: