Closed hostz-frank closed 5 months ago
duplicate of #282, should be already fixed in #283
It's not fixed on wordpress.org. What lives there is v2.3.2 of Cachify - in that version it is not fixed. Latest update there is 2,5 years old. Doesn't even look like maintained at all.
Yes, that's true. Nothing to sugarcoat about that.
The issue is fixed in current development state though, so no point keeping this open here. We should push for a release of v2.4.0 (#293) to make this fix available.
That's a valid output section for the robots_txt function inside inc/class-cachify.php:
You need to output the User-agent line before disallowing something since you cannot rely on it as already existing. In my case I've seen the plugin's output as first entry of robots.txt which produced an invalid robots.txt file.