diff --git a/hakyll.cabal b/hakyll.cabal
--- a/hakyll.cabal
+++ b/hakyll.cabal
@@ -1,5 +1,5 @@
 Name:               hakyll
-Version:            3.0.1.1
+Version:            3.0.1.2
 
 Synopsis:           A simple static site generator library.
 Description:        A simple static site generator library, mainly aimed at
diff --git a/src/Hakyll/Web/Tags.hs b/src/Hakyll/Web/Tags.hs
--- a/src/Hakyll/Web/Tags.hs
+++ b/src/Hakyll/Web/Tags.hs
@@ -138,7 +138,7 @@
         -- Create a link for one item
         makeLink ((tag, url), count) =
             H.a ! A.style (toValue $ "font-size: " ++ size count)
-                ! A.href (toValue $ fromMaybe "/" url)
+                ! A.href (toValue $ toUrl $ fromMaybe "/" url)
                 $ toHtml tag
 
     -- Render and return the HTML
diff --git a/src/Hakyll/Web/Util/Url.hs b/src/Hakyll/Web/Util/Url.hs
--- a/src/Hakyll/Web/Util/Url.hs
+++ b/src/Hakyll/Web/Util/Url.hs
@@ -18,7 +18,8 @@
 -- > "/foo/bar.html"
 --
 toUrl :: FilePath -> String
-toUrl = ('/' :)
+toUrl ('/' : xs) = '/' : xs
+toUrl url        = '/' : url
 
 -- | Get the relative url to the site root, for a given (absolute) url
 --
