fix url_for in taglist
fix url_for in search
use url_for for redirects