craftcode
craftcode
But in twig? :)
Same here Craft 4
PLease add this solution to the installation checklist - fresh install mojave failed and this fixed it
Yes I have done this too. It doesn't work. Plugin Setting show robots.txt logic using this. Take out the if production logic - noindex heading still persists. Turn off plugin...
I've 'fixed' this with adding: vendor/ether/seo/src/services/SeoService.php `// headers do not seem to be setting properly so adding this explicitly if (Craft::$app->env == 'production') { $headers->set('x-robots-tag', 'all'); return; } ` It...
Additionally the issue is worse :) in model SEOdata the robot meta tag (line 353) `` is also an issue. for some reason this code `if (Craft::$app->config->general->devMode) return 'none, noimageindex';`...
Just to update Craft maintainers cant replicate any failure to detect devMode / environment. Plugin logic works as per Craft plugin should however the problem still persists. However it is...