Meta OG:URL Incorrect with Co-Authors Plus Author Archive
-
The meta og:url and canonical links are showing the first-viewed author archive URL in all author archives.
If you use the Yoast Test Helper plugin and clear the Yoast SEO saved data for the site, the url shows correctly on the next visit to any author archive page, then it shows the URL for that same author in the meta tags of every author archive page henceforth.The og:image appears incorrect as well.
Here is an example of the page: https://wsmag.net/author/sandra-andrews-strasko/
Look at the source code and you’ll see:<!-- This site is optimized with the Yoast SEO plugin v15.6.2 - https://yoast.com/wordpress/plugins/seo/ --> <title>WSMAG.NET | Contributor: Sandra Andrews-Strasko | WestSound Magazine</title> <!-- Admin only notice: this page does not show a meta description because it does not have one, either write it for this page specifically or go into the [SEO - Search Appearance] menu and set up a template. --> <meta name="robots" content="index,follow" /> <link rel="canonical" href="https://wsmag.net/author/elena-j-williams/" /> <meta property="og:locale" content="en_US" /> <meta property="og:type" content="profile" /> <meta property="og:title" content="WSMAG.NET | Contributor: Sandra Andrews-Strasko | WestSound Magazine %" /> <meta property="og:url" content="https://wsmag.net/author/elena-j-williams/" /> <meta property="og:site_name" content="WestSound Magazine" /> <meta property="og:image" content="https://secure.gravatar.com/avatar/?s=500&d=blank&r=g" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:site" content="@westsoundmgzn" /> <script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://wsmag.net/#organization","name":"WestSound Magazine","url":"https://wsmag.net/","sameAs":["https://www.facebook.com/westsoundmagazine","https://www.youtube.com/westsoundmagazine/","https://www.pinterest.com/westsound/","https://twitter.com/westsoundmgzn"],"logo":{"@type":"ImageObject","@id":"https://wsmag.net/#logo","inLanguage":"en-US","url":"https://wsmag.net/wp-content/uploads/2020/11/logo-westsound-vertical-1024.jpg","width":1024,"height":1024,"caption":"WestSound Magazine"},"image":{"@id":"https://wsmag.net/#logo"}},{"@type":"WebSite","@id":"https://wsmag.net/#website","url":"https://wsmag.net/","name":"WestSound Magazine","description":"Home | Garden | Community","publisher":{"@id":"https://wsmag.net/#organization"},"potentialAction":[{"@type":"SearchAction","target":"https://wsmag.net/?s={search_term_string}","query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ProfilePage","@id":"https://wsmag.net/author/elena-j-williams/#webpage","url":"https://wsmag.net/author/elena-j-williams/","name":"WSMAG.NET | Contributor: Sandra Andrews-Strasko | WestSound Magazine %","isPartOf":{"@id":"https://wsmag.net/#website"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://wsmag.net/author/elena-j-williams/"]}]}]}</script> <!-- / Yoast SEO plugin. -->
I’m running:
CentOS 7.9.2009 (Core)
Nginx 1.18.0
Apache 2.4.6
MySQL 10.5.8-MariaDB
PHP 7.4.14
WordPress 5.6
Yoast 15.6.2
Co-Authors Plus 3.4.3The page I need help with: [log in to see the link]
- The topic ‘Meta OG:URL Incorrect with Co-Authors Plus Author Archive’ is closed to new replies.