tags and category pages. fix config and pagination