diff --git a/search.html b/search.html
index fa87186a..f7a91d3b 100644
--- a/search.html
+++ b/search.html
@@ -22,7 +22,7 @@
"author": "{{ post.author | xml_escape }}",
"category": "{{ post.category | xml_escape }}",
"content": {{ post.content | strip_html | strip_newlines | jsonify }},
- "url": "{{ site.baseurl }}/{{ post.url | xml_escape }}"
+ "url": "{{ site.url }}{{ post.url | xml_escape }}"
}
{% unless forloop.last %},{% endunless %}
{% endfor %}