Using QUERY_STRING on CI4 |
How can I make CI 4 to use URLs like this:
http://mysite.com/index.php?page=home http://mysite.com/index.php?page=mail http://mysite.com/index.php?page=register http://mysite.com/admin/index.php?page=users http://mysite.com/admin/index.php?page=permissions http://mysite.com/admin/index.php?page=permissions&c=1&t=5 I've tried setting on app/Config/App.php the following: PHP Code: public $uriProtocol = 'QUERY_STRING'; But I was not able to make this work. The url structure is not the same as CI 3 Before you could do something like this http://mysite.com?c=controller&m=method¶m1=x¶m2=y Is there any way to do this? |
Messages In This Thread |
Using QUERY_STRING on CI4 - by lucky - 11-14-2020, 04:44 AM
RE: Using QUERY_STRING on CI4 - by includebeer - 11-14-2020, 05:31 AM
RE: Using QUERY_STRING on CI4 - by lucky - 11-14-2020, 07:22 AM
RE: Using QUERY_STRING on CI4 - by includebeer - 11-14-2020, 10:07 AM
RE: Using QUERY_STRING on CI4 - by lucky - 11-14-2020, 10:20 AM
RE: Using QUERY_STRING on CI4 - by captain-sensible - 11-14-2020, 06:18 AM
RE: Using QUERY_STRING on CI4 - by InsiteFX - 11-20-2020, 05:48 AM
|