Problem with subfolder - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Problem with subfolder (/showthread.php?tid=81966) |
Problem with subfolder - kan1984 - 05-27-2022 Hi Guys, I need some help. I am trying to access a page inside my subfolder in /public_html/app/Views/pages/views/ but its giving me error. 404 - File Not Found My Routes are fine $routes->get('/', 'Home::index'); $routes->get('(:any)', 'Pages::view/$1'); Please help me in resolving this issue.. I may have more subfolders and then further subfolder. How can I resolve this issue.. I am trying to access the page as https://mywebsite.com/views/mypage.php but its giving error 404.. |