I want to use a segment base URL and a query string URL with CodeIgniter at the same time, and in the same project, for example http://localhost/finance_new/login/logout and http://[::1]/finance_new/?c=login&m=logout.
When I set enable_query_string to true, it only works for the second pattern but not for the first.
How can I use both URLs?
I am using CodeIgniter version 3.0.
$config['uri_protocol'] = 'REQUEST_URI';to$config['uri_protocol'] = 'QUERY_STRING';