react-helmet-async icon indicating copy to clipboard operation
react-helmet-async copied to clipboard

Index.html meta Infos Overrides my Helmet tags

Open AhmedZrouqui opened this issue 2 years ago • 1 comments

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>

AhmedZrouqui avatar Sep 02 '21 12:09 AhmedZrouqui

I believe your fix is here - https://github.com/staylor/react-helmet-async/issues/108#issuecomment-788990463

antonatflow avatar Jun 29 '22 09:06 antonatflow