Jump to content

Relative urls are resolving to https on localhost


DL7
 Share

Recommended Posts

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!

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...