making the tags links
fixing pagination by tag