Reputation: 91
I have a react web page which is structured very simply:
For example:
https://mywebsite/search-trails?trailInfo=trail1.json
https://mywebsite/search-trails?trailInfo=trail2.json ... ...
I tried setting all the trails inside the sitemap.txt, and also used the react-helmet but still only https://mywebsite/search-trails is discovered.
My goal is that any trail will be discoverable by search engines such as Google.
Upvotes: 0
Views: 83
Reputation: 2952
You can connect to the Google Search Console and manage your website SEO directly in it.
Make sure the built
version of react is deployed and not the development version.
Be aware that React is a SPA (Single Page Application), which is not the best technology for SEO.
Hope it helps !
Upvotes: 1