Add Disallow: /compose to robots.txt

v1.18.x
Ricki Hirner 6 years ago committed by Julian Lam
parent b48f1b4d91
commit 0a662e4882

@ -252,6 +252,7 @@ Controllers.robots = function (req, res) {
res.send('User-agent: *\n' +
'Disallow: ' + nconf.get('relative_path') + '/admin/\n' +
'Disallow: ' + nconf.get('relative_path') + '/reset/\n' +
'Disallow: ' + nconf.get('relative_path') + '/compose\n' +
'Sitemap: ' + nconf.get('url') + '/sitemap.xml');
}
};

Loading…
Cancel
Save