lorisleiva / vuepress-plugin-seo

🔌 Generate SEO friendly meta header for every page
MIT License
106 stars 7 forks source link

Meta tags doubled in production #1

Closed lorisleiva closed 3 years ago

lorisleiva commented 5 years ago

In development:

screenshot 2019-02-02 at 11 22 03

In production:

screenshot 2019-02-02 at 11 21 42

In production, the bottom batch of meta tags are updated when we switch pages but the top batch stays static and matches the page that we originally loaded.

Not sure if this is a SSR issue related to Vuepress or if this is just related to my project but I need to fix that.

Any insights on this issue would be much appreciated 🙂

adamdehaven commented 3 years ago

It's likely because you defined meta data in the $page.frontmatter as well as using this plugin.

lorisleiva commented 3 years ago

That was not the case. It was an issue with Vuepress itself which seems to have been fixed on the 2nd of February 2020. I'll close that for now but reopen if I found out that the bug still exists.