-
I have an issue with the seo-plugin. The descriptions are not shown properly. For example, at title it sais:
While this should be:
What am I doing wrong? It's displayed correctly when i run the payload website template, but i started from scratch and added the plugin and get this result. I've been looking for hours already to get this solved... The plugin itself seems to work well. I can autogenerate the title, the the bars change colors as I type |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
OK, I found the issue. It's related to i18n within payload.config.ts when using nl language i18n: { My god, that was a long search to find the root cause |
Beta Was this translation helpful? Give feedback.
-
It appears you're encountering issues with meta descriptions not displaying correctly, possibly related to SEO plugins. Here's a breakdown of potential causes and how to address them: Google might display a different meta description than the one you've set because it believes its snippet better answers the user's search query1. Your meta description might be too generic or overly self-promotional1. Solution: Write specific meta descriptions tailored to the page's content and the user's needs1. Use the Inspect URL tool in Google Search Console to update Google's index after making changes1.
Missing or Broken Meta Tag: Your theme or plugins might be altering the code, causing the meta description tag to be missing or broken1. The HTML source code should contain exactly one correct description meta tag1. Conflicting Plugins: Plugin conflicts can prevent the SEO title, description, and focus keyword from saving3. Meta Robots Tag: A meta robots tag with a nosnippet or max-length: 0 value will prevent search engines from showing a meta description1. Javascript Errors: Javascript-related errors could be preventing you from saving SEO titles, descriptions or focus keywords3. Solution: Check your site's HTML source code for a missing, broken, or duplicate meta description tag1. The tag should look like this: 1. Run a conflict check to identify plugins causing issues13. Check the meta robots tag in the HTML source code to ensure it's not disabling snippets1. It should look like this: 1.
If you've recently updated the description, Google might not have crawled the page or updated its index yet1. Solution: Use the Inspect URL tool in Google Search Console to request indexing1.
Yoast SEO: Some users have reported issues with Yoast SEO not displaying meta descriptions25. Payload CMS: There are reports of the SEO plugin displaying double "Title" and "Description" titles4. Solution: Ensure your SEO plugin is up to date2. If using Yoast SEO, adding add_post_type_support( 'page', 'excerpt' ); to the functions.php file may help, but it might not be a permanent fix5. Investigate the specific SEO plugin's settings and compatibility with your theme and other plugins. If you're seeking expert assistance, consider consulting the Best Digital Marketing Expert in Kollam for tailored solutions to your SEO issues. Author info |
Beta Was this translation helpful? Give feedback.
OK, I found the issue. It's related to i18n within payload.config.ts when using nl language
i18n: {
fallbackLanguage: "nl",
supportedLanguages: { en, nl },
},
Apparently, the seo-plugin translations are not present in the nl language.
My god, that was a long search to find the root cause