Closed datsdev closed 5 years ago
Hello,
You have to create 404 page in Batflat. Just create a new page with slug "404" ;-)
Batflat ma kilka błędów których nie poprawili Twórcy w wersji 1.3.6. Najważniejszym błędem jest to, że strona wyświetla się jako strona 404. Aby to naprawić wystarczy w pliku "batflat-master\inc\core\lib\Router.php" zmienić 64 linię ($url = trim(preg_replace('#'.$url.'#', '', $_SERVER['PATH_INFO'], 1), '/'); na $url = trim(str_replace($url, '',$_SERVER['PATH_INFO']), '/');. I błąd 404 znika.
404 Page is not working with the delivered .htaccess.. I cannot assign any
ErrorDocument 404 /404.html
(or any other relative/absolute link)I think the htaccess is messing with the configs?