The robots.txt file will be placed in your site’s root folder. If you don’t have a robots.txtfile, you can create a robots.txtfile on your computer and upload it via FTP. (Refer to here how to use FTP.)
However, in the site built with WordPress site builder, I faced a phenomenon that I did not understand. If you look at the Google Search Console, robots.txt exists and you can see the contents of the site created with WordPress, too, but when you enter ftp, you can see the word The site created by press could not find Robots.txt in the root directory. Apparently it’s somewhere, but it doesn’t seem to be able to find the path. When I looked at setting robots.txt on the WordPress blog, I was able to confirm that there are people who have the same experience as me.
The strength of WordPress, the WP Robots Txtplugin can solve this problem.
How to use is simple, go to [Settings] -> [Reading] on the WordPress admin page, and if you look in the middle, you will see the newly created Robots.txt Content.
Edit, save and you’re done.
It’s a good article, but it’s a published article, so I’m posting it as a protected article for copyright protection. The password is 0021.