diff --git a/searx/templates/results.html b/searx/templates/results.html
index 9efb6ea4b..732650831 100644
--- a/searx/templates/results.html
+++ b/searx/templates/results.html
@@ -20,7 +20,7 @@
 
         <div id="search_url">
             {{ _('Search URL') }}:
-            <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}" readonly="" />
+            <input type="text" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_") }}{% endif %}" readonly="" />
         </div>
         <div id="apis">
         {{ _('Download results') }}