3
2 Comments

Google did not indexed my React landing page for a month until I converted it to a static html version

Hi IndieHackers,

Last month, I made the mistake to choose React for my landing page. Unfortunately, it did not got into Google for a month! Can you imagine how frustrating is this?

3 weeks after this my releasing my landing page, I submitted my sitemap to Google/Bing as a try to overcome this issue (without luck). On my next try, I migrated my landing page to a static html version which finally got indexed the next day by all search engines I tried!

Take this as a lesson when building your next landing page. prefer html versions or use SSR (server-side rendering).

As a hint, search engines also have a cached view that you can check to see how your landing page is rendered by them, for example:

  1. Look for your landing page at Google.
  2. When you get the desired item, click on the 3 dots on the right of its domain (Bing shows an arrow instead).
  3. Click on Cached (see screenshot).
  4. Make sure the landing page looks like you expect it to look.
on February 6, 2023
  1. 1

    I think it will be good to go with Next JS in every project.

    1. 1

      Or check Vite SSR for React. Its faster