diff --git a/core/phpspider.php b/core/phpspider.php index 537a12d..d330270 100644 --- a/core/phpspider.php +++ b/core/phpspider.php @@ -1550,6 +1550,9 @@ public function fill_url($url, $collect_url) } else { + $arr = explode("/", $base_url_path); + array_pop($arr); + $base_url_path = implode("/", $arr); $url = $base_url_path.'/'.$url; } }