Check Your Site’s Visibility Settings
WordPress comes with a built-in option to hide your website from search engines. The purpose of this option is to give you time to work on your website before it’s ready to go public.
However, sometimes this option can get checked accidentally and it makes your website unavailable to search engines.
If your website is not appearing in search results, then the first thing you need to do is to make sure that this option is unchecked.
Simply log in to the http://www.domain.com/wp-admin/ of your WordPress site and visit Settings » Reading page.
You need to scroll down to the ‘Search Engine Visibility’ section and make sure that the box next to ‘Discourage search engines from indexing this site’ is unchecked.
Don’t forget to click on the ‘Save Changes’ button to store your changes.