I manage multiple custom-made websites hosted on the same server and with the same configuration, including sharing a Google Search Console account. Despite all sites utilizing the same robots.txt file, the most recently added website fails to index, displaying the error message "Page cannot be indexed: Blocked by robots.txt" when inspected using the Google Search Console URL inspection tool.
The robots.txt content:
User-agent: *
Allow: /
I am seeking information from others who may have experienced this issue and whether it could potentially be attributed to a cache problem on Google's end as clicking the retest URL results in the same error. It is worth noting that the domain had a previous website prior to the implementation of the new site, and all other websites on the server return valid results without issue. Additionally, various robots.txt checkers have confirmed that the site is not blocked, indicating that the error message is unique to Google's tool.
Allow: /
rather than the standardDisallow:
(disallow nothing) as specified by the offical robots.txt spec at robotstxt.org/robotstxt.html under the heading "To allow all robots complete access"