How to allow search engine indexing in WordPress
Login to WordPress admin panel
Go to Settings -> Reading
Find “Search engine visibility”
Make sure that “Discourage search engines from indexing this site” checkbox is unchecked.

That’s it ! You are done 😉