From cada6437d564ad2525574bf3b4246cffd4a73eeb Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 15 May 2014 10:25:18 +0200 Subject: [PATCH] [REM] temporary disable sitemap --- addons/website/controllers/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website/controllers/main.py b/addons/website/controllers/main.py index a002abc8c88..be13b5c7f1f 100644 --- a/addons/website/controllers/main.py +++ b/addons/website/controllers/main.py @@ -69,6 +69,7 @@ class Website(openerp.addons.web.controllers.main.Home): @http.route('/sitemap.xml', type='http', auth="public", website=True) def sitemap_xml_index(self): + return request.not_found() # Temporary disable sitemap pages = list(request.website.enumerate_pages()) if len(pages)<=LOC_PER_SITEMAP: return self.__sitemap_xml(pages, 0)