Index: branches/unlabeled/unlabeled-1.4.2/kernel/units/general/helpers/mod_rewrite_helper.php =================================================================== diff -u -r5935 -r5937 --- branches/unlabeled/unlabeled-1.4.2/kernel/units/general/helpers/mod_rewrite_helper.php (.../mod_rewrite_helper.php) (revision 5935) +++ branches/unlabeled/unlabeled-1.4.2/kernel/units/general/helpers/mod_rewrite_helper.php (.../mod_rewrite_helper.php) (revision 5937) @@ -83,7 +83,7 @@ $category_id = $this->Conn->GetOne( 'SELECT CategoryId FROM '.TABLE_PREFIX.'Category - WHERE NamedParentPath = '.$this->Conn->qstr($category_path)); + WHERE Status = 1 AND NamedParentPath = '.$this->Conn->qstr($category_path)); if ($category_id !== false) { $last_category_id = $category_id; $url_part = array_shift($url_parts);