diff --git a/modules/search.module b/modules/search.module
index 691c764866828b663fc9b61c56a5bfa175d9d7ac..2d197c9040e10399d9b8d4f4afe0fee9041aaefd 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -583,7 +583,7 @@ function search_form($action = '', $keys = '', $type = null) {
   $edit = $_POST['edit'];
 
   if (!$action) {
-    $action = url('search');
+    $action = url('search/'. $type);
   }
   if (!$type) {
     $type = 'node';
diff --git a/modules/search/search.module b/modules/search/search.module
index 691c764866828b663fc9b61c56a5bfa175d9d7ac..2d197c9040e10399d9b8d4f4afe0fee9041aaefd 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -583,7 +583,7 @@ function search_form($action = '', $keys = '', $type = null) {
   $edit = $_POST['edit'];
 
   if (!$action) {
-    $action = url('search');
+    $action = url('search/'. $type);
   }
   if (!$type) {
     $type = 'node';