Couldn’t find a robots.txt file
-
Running WP 4.9.8
I couldn’t see any robots.txt file anywhere on the site.
(doesnt WP install one by default?)
Is it possible that Yoast removes the default robots.txt file?
Because when i type in the URL https://www.mysite.com/robots.txt
I see this:User-agent: * Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php
So I just created a new file, appended your code to the end so now I have this in my root directory. Does this look right?
User-agent: * Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php Disallow: /?blackhole
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Couldn’t find a robots.txt file’ is closed to new replies.