From 59a6440fd806f28f9ef7c9cf2930e46d141ba6ad Mon Sep 17 00:00:00 2001 From: Guillaume Date: Wed, 13 Feb 2019 16:28:22 +0100 Subject: [PATCH] Use comma for implode robots meta tag According to http://www.robotstxt.org/meta.html and https://www.webmasterworld.com/forum93/669.htm using only a space between the values probably isn't the proper syntax and could ignore all values (perhaps that explains why Google ignored my `noindex nofollow noarchive`). --- bl-plugins/robots/plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bl-plugins/robots/plugin.php b/bl-plugins/robots/plugin.php index 180c5d96..d69794bb 100644 --- a/bl-plugins/robots/plugin.php +++ b/bl-plugins/robots/plugin.php @@ -45,7 +45,7 @@ class pluginRobots extends Plugin { } if (!empty($robots)) { - $robots = implode(' ', $robots); + $robots = implode(',', $robots); $html .= ''.PHP_EOL; } } @@ -63,4 +63,4 @@ class pluginRobots extends Plugin { } } -} \ No newline at end of file +}