diff --git a/templates/thread.html b/templates/thread.html
index 0c2e0fa1df0401bb25cdab7fb857a11a9c32f98d..655401547233f09abe50142459c6f937fa90c62c 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -68,7 +68,7 @@
   
   <div class="paginator">
     {% if info.page.current_page > 1 %}
-    <a href="/p/{{ info.thread.tid }}&ao={{ao}}">首页</a>
+    <a href="/p/{{ info.thread.tid }}?ao={{ao}}">首页</a>
     {% endif %}
 
     {% for i in range(5) %}
diff --git a/templates/thread.html.text b/templates/thread.html.text
index 5a78c4c962337b86ccad6f80795469541c9dc0af..5e912dc468e69297aa98f8cd2d5df80ae03a2cd6 100644
--- a/templates/thread.html.text
+++ b/templates/thread.html.text
@@ -21,7 +21,7 @@
 {% if p.comments %}{{ '\n' + p.comments|tcomments }}{% endif %}</pre>
 	{% endfor %}
 	<pre>------------------------------------------------------------------------</pre>
-    <a href="/p/{{ info.thread.tid }}&ao={{ao}}">首页</a> |
+    <a href="/p/{{ info.thread.tid }}?ao={{ao}}">首页</a> |
 
     {% for i in range(5) %}
     {% set np = info.page.current_page - 5 + i %}