Ad

Why Doesn't My React Page Show Up On Google At All?

- 1 answer

I just took over a React landing page that is built with vite, uploaded on S3, then distributed via cloudfront.

The website name goes like https://xxx.io (not actual name), the xxx is in the index HTML tag, yet even when I search for the exact term xxx, it does not display at all.

Searching site:xxx.io does reveal a few pages from a subdomain that is on Gitbook (a documentation page), yet the actual landing page is nowhere to be found.

Ad

Answer

You need to submit a sitemap XML for your site to Google Search Console. This will be a starting point to crawl your web app if no backlinks to your site.

You can add any URL of your website to sitemap.xml file. You can even dynamically ad or remove if you want to. You can change it as per your needs. If you add the home page URL only the crawler will find other URLs using a tags.

Ad
source: stackoverflow.com
Ad