What Google needs from your page?
Your page must meet three technical requirements to appear in Google Search. Meeting them doesn’t guarantee a place in the results.
1. Google can access it
Make the page public. Don’t block Google’s crawler, Googlebot, in
robots.txt.
2. The page works
It must load successfully and return HTTP 200.
3. Indexable content
Publish helpful content as readable text on your page.
Source: Google’s technical requirements.