Open samuel-clara opened 4 months ago
Please show me the screenshot of your Content SEO settings and the accompanying preview?
We are currently facing a very similar issue except that it's for the description. In the entry it's always showing as "title" although the content fallback has been set to description:
Tried updating the plugin to the newest version, resaving the entries section, changing the content defaults to other settings but with no luck. Manual override works in this case too, just as manuel-clara mentioned in this report.
SEOmatic version: 4.0.49 Craft CMS version: 4.8.3
Do you have multiple sites and/or multiple entry types? SEOmatic stores its settings on a per-site, per-entry type basis.
Can you confirm the settings are what they should be for each site/entry type combo?
Yes I have multiple sites but not multiple entry types. Yes I confirm that the settings are what they should be for each site combo. As you can see all my screenshots are all from the same site.
Okay I've attempted to replicate this, but have been unable to. Perhaps you can tell me what might be different in how I have configured things.
Here's my "Blog" Content SEO Settings that map the SEO Description to the "Plain Text" field, and the SEO Image to the "Some Asset" field:
And it seems to work as expected:
...as do the overrides:
Note @joelstrom that what you see in the preview on the right is actually the Twitter and FaceBook previews... which have settings that are set in separate tabs in the Content SEO settings.
I could not find out why this is happening on my side. I realised that it's happens not to all entries. The only way I could solve it is by specifying an Image source for Facebook and X under content SEO.
I'm on vacation at the moment, but I'd be happy to continue looking into this. But I need to be able to reproduce it... so we probably should get on a conference all, or, if you'd be able to share your composer.json
and database dump, I could try spinning it up locally.
Thank you! I will send you all per e-mail.
To chime in, we're running against the same issue:
on section level the option to define a meta-image per entry:
The result:
og:image
and twitter:image
I would love to fix whatever the issue is here, but unless I can reproduce it, it'll be pretty difficult.
The fact that some people are saying that it happens only with certain entries makes me think that you should look for differences between entries where it works, and where it does not (especially with whatever settings are being overridden by the field). Also ensure that you're looking at the Twitter and Facebook override settings as well.
So I have a couple of choices going forward:
composer.json
as well as the database dump for a project, and I can try to reproduce it here locally@jan-dh your issue sounds like a different issue than the one being discussed here. It could be the same, but it seems similar but different to me.
When you say "inspecting the entry" where you see the wrong image, what do you mean exactly? Do you mean when viewing it on the frontend?
If so, I'd try what I recommended above: You can try using the SEOmatic debug toolbar panel on the frontend to load the page where the values aren't set properly, and inspect the various meta containers to see what the values are: https://nystudio107.com/docs/seomatic/advanced.html#debug-toolbar -- you very likely will gain some clarity in what's going on by doing that
Also @jan-dh make sure your SEO Settings field has the propagation method set as is appropriate for your multi-site setup
Ok, let me try to be more clear:
og:image
tag with the wrong image URLIn discussions with @jan-dh he is unable to replicate this in local dev, and based on some other things we've discussed, I'm fairly sure this is not actually the same issue as is being discussed in this thread, but rather is some kind of caching issue on their end.
As for @samuel-clara I'm hoping you can try one of the steps listed above?
@khalwat I've sent you all you asked per mail to info@nystudio107.com Didn't receive it?
@samuel-clara I did not -- can you try again please, or contact me on the Craft Discord?
Describe the bug
When setting a SEO Image Source under "Content SEO" → "SEO Image Source" with "From Asset Field" this is not rendered either in the CP preview nor in the html code. When overwriting this though the entry SEOMatic filed it works properly. I tried to remove the cache.
Screenshots
Versions