Forum Moderators: phranque
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I welcome you much appreciated help in solving this mystery! Thank you!
The solution is to upload a robots.txt file, and then to completely flush (delete) your browser cache, so that your browser will be forced to send a request for a new "copy" of the page/file to your serve, and will not show you a previously-cached page/file and server response (this being the likely reason that you thought your robots.txt file "didn't work").
Jim
In order to allow robots to crawl your site, your robots.txt file should be changed to read:
User-agent: *
Disallow:
Whether you want to add the sitemap declaration is up to you.
Jim