Welcome Guest, Not a member yet? Register   Sign In
Commented routes still working
#1

Hello everyone,

I had routes that were working normally. Suddenly newly formed link [e.g. site_url('administrator/edit/page/' . $num)] loaded a mysite.com/admin/home page. Any page in site_url('administrator/edit/page/' . $num) openedĀ  mysite.com/admin/home page. Moreover, when I click on the link with the URI mysite.com/administrator/edit/page/3, it returns to mysite.com/admin/home page

I decided to comment first $route['admin/home'] in routes.php yet the page mysite.com/admin/home page still loads. I decided to comment/remove all admin routes yet some routes are still working as if not removed though some are showing 404 page. What could be responsible for such a strange problem
Reply
#2

$routes->setAutoRoute(true);
To
$routes->setAutoRoute(false);
Will solve your problems i think.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB