DL7 Posted December 13, 2021 Share Posted December 13, 2021 Hi all, Not sure what is happening on my localhost website, but I cant seem to load the css / js files. The files are grabbed via $config->urls->templates?> and are relative url's. But for whatever reason instead of loading http://localhost/etc... Chrome is loading them on https://localhost (http vs https). The page itself is loaded via http://localhost so all setting in htaccess should be fine. What I do already: - Empty cach and hard reload. - Sifted through the htaccess -Added localhost to config->http - Went to chrome://net-internals/#hsts and delete localhost Any options you could think of that would solve this issue? Many thanks! 1 Link to comment Share on other sites More sharing options...
DL7 Posted December 15, 2021 Author Share Posted December 15, 2021 SOLVED: I had a rough .htaccess file in my site folder that forced a https redirect... 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now