From 1bb8c71832352eda3c3672e878f9adfcfbf47d11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 7 Aug 2023 14:42:10 +0200 Subject: [PATCH] Fix syntax in robots.txt We added the `user_id` rule in commit edaf420f5. To be honest, I'm not sure what we meant, since I haven't found URLs containing the user id. So we're treating it as if it was a typo and we wanted to do the same thing we did with other parameters. --- app/views/robots/index.text.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/robots/index.text.erb b/app/views/robots/index.text.erb index 29c1e6ce3..a0aee4441 100644 --- a/app/views/robots/index.text.erb +++ b/app/views/robots/index.text.erb @@ -12,6 +12,6 @@ Disallow: /*?*order Disallow: /*?*search Disallow: /*?*locale-switcher Disallow: /*?*filter -Disallow: user_id +Disallow: /*?*user_id Sitemap: <%= "#{root_url}#{Tenant.path_with_subfolder("sitemap.xml")}" %>