herhangi bir sorun gözükmüyor.

ya db ye eklerken bi hata olmuştur yada altdaki fonksiyonda uyuşmayan bişiler var.

    function categoriesUrl($category, $subcategory, $page){
        if ($page <= 1){
            if ($subcategory == ''){
                return $this->relpath.$this->customurlencode($category).'/';
            }
            else{
                return $this->relpath.$this->customurlencode($category).'/'.$this->customurlencode($subcategory).'/';
            }
        }
        else{
            if ($subcategory == ''){
                return $this->relpath.$this->customurlencode($category).'/page'.strtolower($page).'.html';
            }
            else{
                return $this->relpath.$this->customurlencode($category).'/'.$this->customurlencode($subcategory).'/page'.strtolower($page).'.html';
            }
        }

    }