How do I add google results to my Glitch website (robot.txt)?


#1

I want to be able to have my site looked up on google but in order to do so I need to have something called a “robot.txt” I think. Please help!


#2

You don’t actually need a robots.txt file for Google to index your site, it just helps you tell it what you do and don’t want indexed (there’s more info about them here: http://www.robotstxt.org/robotstxt.html). You can ask Google to index your site, they suggest ways to do it here: https://developers.google.com/search/docs/guides/submit-URLs. However, since it’s already on Glitch, this will likely happen automatically. But it doesn’t hurt to ask and it might get added more quickly that way.


#3

Thanks a ton Gareth!