You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a headless CMS to load all of my date (pages, slug, navigation). I'm using setI18nParams to set the correct slugs for my navigation, the only thing that I don't yet understand is the useSeoMeta and useServerSeoMeta
I've used useServerSeoMeta for all my previous websites (that's SSR, right?) and now when switching the language I see the meta data is not updating, I suppose that's because switching the language happens on the frontend, after the meta has been loading with useServerSeoMeta.
My question is, is useSeoMeta equally fine for search engines?
Use useServerSeoMeta if you do not want to return any seo data to the client, which means that the seo metadata are initialized in the server, use it when you have a static data website such as portfolio or using a CMS.
Use useSeoMeta if you want to make the seo metadata reactive, which means that those metadata are stored in client-side dynamically,
use it when you have a dynamic website such as an online shop, imagine that the goods are reactive to show to search engine, each goods have a unique title and description to dynamically show to search engine like Google.com
and useHead is same to useSeoMeta but it's have no flat support, which means it can not help you to avoid typos and common mistakes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using a headless CMS to load all of my date (pages, slug, navigation). I'm using
setI18nParams
to set the correct slugs for my navigation, the only thing that I don't yet understand is theuseSeoMeta
anduseServerSeoMeta
I've used
useServerSeoMeta
for all my previous websites (that's SSR, right?) and now when switching the language I see the meta data is not updating, I suppose that's because switching the language happens on the frontend, after the meta has been loading withuseServerSeoMeta
.My question is, is useSeoMeta equally fine for search engines?
Beta Was this translation helpful? Give feedback.
All reactions