Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This metatag can be useful for letting google know that you are the author of a post which helps add your image next to the result in a SERP and can also (potentially) affect rankings.
#1278146: [META] Ensure all meta tags are supported (no patches, just planning) doesn't mention author, but I feel like it should be included in the core package.
Luckily, y'all are brilliant so it is easy to add this.
Some background:
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1408986
http://yoast.com/push-rel-author-head/
Comment | File | Size | Author |
---|---|---|---|
#22 | metatag-n1865228-21.patch | 4.16 KB | DamienMcKenna |
| |||
#21 | metatag-n1865228-21.interdiff.txt | 373 bytes | DamienMcKenna |
#17 | metatag-n1865228-17.patch | 2.8 KB | DamienMcKenna |
| |||
#13 | metatag-n1865228-13.patch | 2.19 KB | DamienMcKenna |
| |||
#4 | metatag-n1865228-4.patch | 610 bytes | greggles |
Comments
Comment #1
gregglesComment #2
DamienMcKenna@greggles: Nice 'n simple, thanks. That said, it could use a better description.
Comment #3
DamienMcKenna@greggles: is this description ok?
Comment #4
gregglesSlight change for grammar and to avoid the use of the escaping \ in the string. I think the \ in a string is frustrating to translators so I switched to using " to enclose the string which is just as performant in modern versions of PHP.
Comment #5
DamienMcKennaLooks good. Committed! Thanks greggles.
Comment #6
DamienMcKennaI've just added a corresponding issue for Nodewords to add this new tag: #1866922: Add support for the rel=author meta tag
Comment #8
gillesbailleuxHi,
As this [very useful] patch works for the development release, I was just wondering if it will be ported to the next recommended release [7.x-1.0-beta5 or so].
Regards,
Gilles
Comment #9
DamienMcKenna@Gilles: The patch has already been committed, it's already in the dev version thus will be in the next release.
Comment #10
lsolesen CreditAttribution: lsolesen commentedLooks great, but how should it be used when more people are authors on the site?
Comment #11
gillesbailleux@DamienMcKenna: many thanks for the 7.x-1.0-beta5 release including the rel=author link meta tag!
Comment #12
DamienMcKennaNeeds to be ported to D8.
Comment #13
DamienMcKennaThis adds the tag to 8.x-1.x.
Comment #15
DamienMcKennaCommitted.
Comment #16
DamienMcKennaThis was moved to the Google Plus submodule for D8, so need to backport that for D7.
Comment #17
DamienMcKennaLets see if this works.
Comment #19
DamienMcKennaSo the D8 version wasn't moved to the submodule after all. Now it is.
Comment #21
DamienMcKennaThis should fix those errors.
Comment #22
DamienMcKennaComment #24
DamienMcKennaCommitted.