diff --git a/realms/templates/wiki/history.html b/realms/templates/wiki/history.html
index 176a1f3..e507014 100644
--- a/realms/templates/wiki/history.html
+++ b/realms/templates/wiki/history.html
@@ -52,7 +52,7 @@ $(function(){
});
revs.reverse();
revs = revs.join("..");
- location.href = "{{ url_for('wiki.page') }}_compare/{{ name }}/" + revs;
+ location.href = "{{ url_for('wiki.page') }}/_compare/{{ name }}/" + revs;
});
});