Welcome Guest, Not a member yet? Register   Sign In
CI4 - Routing problem
#1

Hi,
When i load the URL that supposed to show my page, the server give me a 404 not found error. I added my routes on the app/Config/Routes.php file. I tried to add my routes before the default route ($routes->get("/")Wink, that doesn't help.

My routes :
Code:
$routes->get('/', 'Home::index');
$routes->add('hebergement', 'Home::hebergement');
$routes->add('prestations', 'Home::prestations');
$routes->add('activites', 'Home::activites');
$routes->add('contact', 'Home::contact');

How can i solved that ?
Reply


Messages In This Thread
CI4 - Routing problem - by haunui - 04-11-2020, 06:36 AM
RE: CI4 - Routing problem - by stlake2011 - 04-11-2020, 07:35 AM
RE: CI4 - Routing problem - by haunui - 04-11-2020, 08:53 AM
RE: CI4 - Routing problem - by Rose101 - 09-22-2022, 02:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB