Welcome Guest, Not a member yet? Register   Sign In
Using QUERY_STRING on CI4
#1

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&param1=x&param2=y

Is there any way to do this?
Reply


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 InsiteFX - 11-20-2020, 05:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB