CodeIgniter Forums
routes in ci shows white blank screen - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forum-6.html)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forum-17.html)
+--- Thread: routes in ci shows white blank screen (/thread-76034.html)



routes in ci shows white blank screen - durairaj - 04-08-2020

$route[ 'courses' ] = 'courses';
    $route[ 'courses/(:any)' ] = 'university/courses/$1';
    above open  on project/courses/new
    but not open project/courses  will show white blank screen;
   
    $route[ 'courses' ] = 'courses';
    $route[ 'Courses/(:any)' ] = 'university/courses/$1';
   
    ```this code  will open both url,```
   
    why  this happened


RE: routes in ci shows white blank screen - rolly - 04-09-2020

Change, first 

PHP Code:
$route'Courses/(:any)' ] = 'university/courses/$1'
$route'courses' ] = 'courses'