SELECT c.nome AS dove, c.url_rewrite FROM comuni c WHERE REPLACE(c.nome, '-', ' ') = 'bagnolo san vito' OR REPLACE(c.url_rewrite, ' ', '-') = 'bagnolo san vito' LIMIT 0,1