KellyAWP
Forum Replies Created
-
Also experiencing this with 3.2 – unable to see or change advanced settings.
Apologies but disregard above about xml.gz still working.
I assumed since the downloaded file looked the same it should be fine, but after checking webmaster tools today it ins’t validating for any of my sites. I’m guessing the headers are wrong then, just like how they are wrong for the sitemap.xml, rendering the html as text.
Update:
Using a custom function, ie add_action(‘do_robots’, ‘my_global_robots’) appears to works for the sitemap.xml.gz file(gwebmaster still loading) but breaks for the xml page as shown above. In fact it even adds the w3tc cache timestamps at the footer like it’s a regular wp page. Not sure if the undefined Disallow: before the rest will have any negative effect but I’d think not.
Using a custom function plus remove_action(‘do_robots’,’do_robots’) in order to completely overwrite breaks both.
Also encountering this error on 3.1 pubic release w/ multi-site, & with the same message as above.
I’m also having issues with this, using the my_global_robots function. Using WP 3.1 MU, with subdirectories and domain mapping.
Sitemaps work fine until I add my global robots file to mu-plugins, then
accessing sitemaps.xml or gz results in displaying contents of the robots.txt file.I’ve had to disable my global robots for now.