This project is read-only.

Orchard and HTTPS

Topics: Administration, Core, General, Troubleshooting
Feb 17, 2012 at 3:10 AM

Hi everyone,

I just moved an Orchard site into an HTTPS environment, for the first time tonight. I am getting those silly mixed-content errors (http content on https page).

I see that there are a few things in Orchard that reference directly to http:// pages (like all of thelinks, on the main page, on the dashboard.

What are you all doing to overcome this?


Feb 17, 2012 at 4:19 PM

I had the same problem and just manually changed it to https.  It would be nice if that wasn't necessary.  

Feb 17, 2012 at 6:29 PM

Can you give precise files which contain such references ? 

Feb 18, 2012 at 12:02 AM

I recently had to address this issue on a (non orchard) site & found out that you can omit the protocol entirely, it seems to work well:

Feb 18, 2012 at 12:35 AM

Absolutely, protocol-less is the way to go if you have to specify an absolute url.

Feb 21, 2012 at 4:07 AM

The admin dashboard has all http links coded in the view.
The other points were in the Theme.

So, what happens when there is no available https version? Will protocol-less links break or will the user be warned like normal?