Robos.txt and BOM error in google search console
-
I was aparent to me that googlebot wasn’t following the rules on the robots.txt file for a while. I checked the search console and there were multiple errors in said file.
This is happening to me: https://www.carlj.ca/2014/05/05/webmaster-tools-robots-txt-user-agent-syntax-understood/
I applied this temporarily fix:
/* Preppend text to robots.txt */ add_filter('the_seo_framework_robots_txt_pre', function($defaults, $args = array() ) { return "#\n"; }, 10, 2 );
A “syxtax not understood” error persists in the first line. However I expect googlebot to work for now.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Robos.txt and BOM error in google search console’ is closed to new replies.