hello
i tried uploading the website to google search console and while submitting the website it is showing my main page is blocked in robots.txt,i generated a new robots.txt and new sitemap from xml generator but still i couldn’t fix it.I allowed everything in Yoast SEO to index status but still its not indexing,please suggest what to do.
My site link is http://www.partydubai.ae link to robots.txt is http://www.partydubai.ae/robots.txt and sitmap is http://www.partydubai.ae/sitemap_index.xml
Basically make your robots.txt file blank and retry. If Google saying they can’t read your site due to your robots.txt file — you answered your question already.
try this instead:
# This space intentionally left blank
# If you want to learn about why our robots.txt looks like this, read this post: https://yoa.st/robots-txt
User-Agent: *
Disallow: /suggest/?*
i am getting this error in sitemap section ,Sitemap contains urls which are blocked by robots.txt.
Value: http://www.partydubai.ae/ basically the main page is blocked,i am not able to get rid of it.
yes i fixed robots.txt,resubmitted sitemap,i deactivated yoast SEO but still the main page is blocked,i am not sure how to fix this google search results also says it is blocked by robots.txt .
https://www.google.ae/search?q=partydubai.ae&oq=partydubai.ae&gs_l=psy-ab.3..35i39k1.12593.12965.0.13164.3.3.0.0.0.0.192.192.0j1.1.0….0…1.1.64.psy-ab..2.1.191….0.g6OD2pLPGQE