Please go to Settings > Reading
or wp-admin/options-reading.php
If it’s not unchecked it will not allow search engines to reach.
For further modification information related to robots you can use the below plugin to modify robots.txt
file:
Plugin – Multipart robots.txt editor
To see your robots.txt
file you would visit the link as:
http://www.example.com/robots.txt