SEO not working when sharing
Hi everyone
I'm facing a few issues on my Solid Start project.
The meta tags aren't correctly working when I share the link or when I go to the facebook sharing debugger, the meta tags doesn't match.
Please see both imagesAnyone already have a similar issue?
7 Replies
Yeah, the tags are being correctly updated on the client-side post-hydration. But the crawler can't catch them correctly.
I haven't seen this problem yet, but my use cases for metatags have so far being super simple. I'll try to have a look.
Meanwhile, do you have a reproduction you can share?
No, but I can share the repo: https://github.com/tutods-dev/mc-ocidente-charmoso
GitHub
GitHub - tutods-dev/mc-ocidente-charmoso
Contribute to tutods-dev/mc-ocidente-charmoso development by creating an account on GitHub.
Any update or idea what I'm doing wrong?
https://www.cleanmyseo.com/
Tested on this website too, same result
The SEO isn't working
CleanMySEO - Optimize Your Website's SEO
CleanMySEO offers tools to enhance your website's SEO, improve search engine rankings, and increase online visibility.
Try two new things (one following a suggestion from @Atila):
- receive a new prop
defaultSeoSettings
and remove the createAsync
inside the page.tsx
to fetch the default SEO settings;
- add a Suspense
around
Nothing works
So a few updates:
- if I put the default SEO meta tags in the app.tsx
the facebook sharing debugger detects the meta tags correctly
- but with this approach, the page title don't change
Any idea guys?
This that I have tryed:
- disable pre-rendering;
- add default meta tags on the app.tsx
- problem: the title, description, ... doesn't update
Anyone can help me please?
I need to solve this 😦Try to deploy it on vercel
but same thing, nothing changes
Anyone have an idea please?