Worked it out. Had to select Blocking of specific Post types and turn on Pages.
Somewhat complex to set up blocking of just one page.
Suggest to use Opera Browser free VPN to test out settings.
Plugin Author
Pascal
(@iqpascal)
Hi,
Unless your robots.txt is served by WordPress it won’t be blocked by iQ Block Country. Only pages/posts that are handled by WordPress will be checked if blocking is necessary.
Under normal circumstances robots.txt is a plain text file on your webhost and it will be served directly by the webserver (Apache, NGINX)
pretty sure rankmath handles robots.txt
guessing Yoast SEO would too
Plugin Author
Pascal
(@iqpascal)
But for those plugins it’s relevant to update the robots.txt file. So you make your settings at that plugin and the plugin saves the relevant changes to that text file.
The text file however remains a text file where WordPress it not “started” when a search engine accesses that file. And if WordPress is not started iQ Block Country is not started either.
So yes, other plugins may save/read the robots.txt file but only when WordPress is accessed. If that specific file is served by your webserver in general PHP and thus WordPress won’t be started.