diff --git a/Kwf/Util/Fulltext/Backend/Solr.php b/Kwf/Util/Fulltext/Backend/Solr.php
index <HASH>..<HASH> 100644
--- a/Kwf/Util/Fulltext/Backend/Solr.php
+++ b/Kwf/Util/Fulltext/Backend/Solr.php
@@ -24,7 +24,9 @@ class Kwf_Util_Fulltext_Backend_Solr extends Kwf_Util_Fulltext_Backend_Abstract
         if (!isset($i[$subrootId])) {
             $solr = Kwf_Config::getValueArray('fulltext.solr');
             $path = $solr['path'];
-            $path = str_replace('%subroot%', $subrootId, $path);
+            $subrootPart = $subrootId;
+            if (!$subrootPart) $subrootPart = 'root';
+            $path = str_replace('%subroot%', $subrootPart, $path);
             $path = str_replace('%appid%', Kwf_Config::getValue('application.id'), $path);
             $i[$subrootId] = new Kwf_Util_Fulltext_Solr_Service($solr['host'], $solr['port'], $path);
         }
Change solr default path if no subdomains defined

If no subdomains are defined now root is used as value for %subdomain%.
So it's not needed to set solr path explicitely in every web.