SEO Meta Tags Issue on ReactJS Website

Mr KHILADI

Newbie
Joined
Jun 14, 2024
Messages
9
Reaction score
0
I’m currently working on optimizing the website’s SEO and have updated the Meta Title and Meta Description for several key pages. However, the changes are not reflecting — neither in the browser (Inspect Element) nor when crawling with tools like Screaming Frog or Google Search Console.

Here’s what I’ve done so far:
  • Tried updating meta tags manually.
  • Tried implementing via React Helmet.
  • Verified using:
    • Screaming Frog (Meta data still outdated)
    • Google Search Console (Not fetching updated tags)
    • Inspect Mode (Old meta title & description showing)

Tech Stack:​

  • Framework: React.js
  • SEO Tagging Tool Used:
 
Thread moved to HTML & Javascript section.

This happens because your website is rendered on the client side. Which means that the empty page (the container that holds the react app) is loaded first, and then hydrated with the html and the JS that is needed to run the app.

What you are looking for is server side rendering, which frameworks like next.js can deliver. It is not recommended to use raw react.js for a site that needs SEO.

Should not be a huge deal to migrate I think, because next.js is built on top of react itself. Just make a new next.js project, and import the components to there, and implement the components in your page.tsx/page.jsx.
 
Back
Top