Welcome Guest, Not a member yet? Register   Sign In
How to remove public in base url?
#1

I installed CodeIgniter 4.1.3 in my subdomain (new.nvslk.com).
I changed the app.php file base URL into my subdomain and move the public folder .access file and index.php file into the root directory. 
however, when I echo the base URL it shows like this "https://new.nvslk.com/public".
I want to remove "public" from the URL. how do I do this?

Thanks 
Anuradha
Reply
#2

Hi
I think I found the solution. Edit root folder .env file "app.baseURL = 'https://new.nvslk.com/public' " to "app.baseURL = 'https://new.nvslk.com/' "
Reply




Theme © iAndrew 2016 - Forum software by © MyBB