Before this commit in case you start on blog with url like /blog/blog-1/tag/2, you should be redirected to /blog/blog-1/tag/website-2 to avoid duplicate content. But because the replace was done with /tag/%s/ it will be not replaced and so you are redirected to the same url, creating a loop. closes odoo/odoo#45927 X-original-commit: 666306326cecc6ac8587b45d2dbf24c0463b33a5 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>