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

Index.html meta Infos Overrides my Helmet tags #142

Open
AhmedZrouqui opened this issue Sep 2, 2021 · 1 comment
Open

Index.html meta Infos Overrides my Helmet tags #142

AhmedZrouqui opened this issue Sep 2, 2021 · 1 comment

Comments

@AhmedZrouqui
Copy link

Hello,
I am using react-helmet-async to do the SEO on a project, Though, the index.html meta tags overrides my other pages Helmets i'm not sure why.
I used prioritizeSeoTags on every Helmet tag on my code
Thats my index.html tags

<meta name="theme-color" content="#000000" data-react-helmet="true" /> <meta name="title" content="The Phoenix | World's First Home-Use Acoustic Wave Device." data-react-helmet="true" /> <meta name="description" content="The Phoenix is the very first home-use acoustic wave technology device, revolutionizing men's sexual health and performance." data-react-helmet="true" />

and that's an example from a page :

<Helmet prioritizeSeoTags> <title>Terms and Conditions | The Phoenix</title> <meta name="description" content ="Our terms of use outline the rules and regulations for the use of The Phoenix’s website. By accessing our website, you accept these terms of use in full." /> <meta property="og:title" content="Terms and Conditions | The Phoenix" /> <meta property="og:description" content="Our terms of use outline the rules and regulations for the use of The Phoenix’s website. By accessing our website, you accept these terms of use in full." /> <link rel="canonical" href={window.location.href} /> </Helmet>

@antonatflow
Copy link

I believe your fix is here - #108 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants