Jump to content

Set admin template to 'https only' without breaking localhost


Recommended Posts


If you are developing on localhost and need to override the https settings in your template files you can do this by using copying your site/config.php file to site/config-dev.php file, and adding this option to the new file:

$config->noHTTPS = true;

...and it should work.

There are several posts here in the forum that talk about how to setup your dev and live config files.

  • 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

  • Create New...