Skip to content
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

Inconsistent Meta Descriptions in SEO Optimization #911

Open
ray-android opened this issue May 4, 2024 · 0 comments
Open

Inconsistent Meta Descriptions in SEO Optimization #911

ray-android opened this issue May 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ray-android
Copy link

Describe the bug
The meta descriptions (<meta name="description" content=" and <meta property="og:description" content=") are displaying different content on the webpage, causing inconsistency in SEO optimization.

To Reproduce
Steps to reproduce the behavior:

Navigate to the webpage.
View the page source.
Compare the content of <meta name="description" content=" and <meta property="og:description" content=".

Expected behavior
Both <meta name="description" content=" and <meta property="og:description" content=" should display the same content, ensuring consistency in SEO optimization.

Additional context
The suggested solution is to modify the genPageMetadata function in the seo.tsx file to ensure that both meta descriptions use the same content provided through the description prop, falling back to the default siteMetadata.description if not provided.

@ray-android ray-android added the bug Something isn't working label May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant