Welcome Guest, Not a member yet? Register   Sign In
Weird issue after going from localhost to server
#1

Hello,
I developed my CI application on localhost,
After moving it to a live server, I changed the config in Config/App.php to reflect my new URL.
However, all the links that use base_url() still point to localhost, making my site unusable. Already tried removing cache etc, but no dice.
Anyone have any idea why this happens?
Reply
#2

You probably have a .env file with localhost in it.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply
#3

Ok, I feel very stupid now.

That was it, thanks!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB