Which of the following files is crucial for configuring CodeIgniter's URL routing?

  • config.php
  • index.php
  • routes.config
  • routes.php
The routes.php file is crucial for configuring CodeIgniter's URL routing. It is located in the config directory and allows you to define custom URL routes, specify controllers and methods, and set default routes. This file plays a key role in defining how URLs are mapped to controllers and methods in a CodeIgniter application.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *