Use id instead of name for anchors
Added a rule to rewrite /tag/XXX URLs