OllieMackJames Posted August 4, 2016 Share Posted August 4, 2016 I have a site that uses masonry style loading of summaries (with image) of underlying pages. Whenever one image is clicked, the underlying full page is loaded in an overlay through javascript. This all works great on http, the page is loaded fine in the overlay, but on https it does not work. Chrome shows this: Main origin green dot https://www.site.com Non-Secure Origins red cross http://www.site.com Apparently processwire automatically feeds http, and since this is unsecure, it is not shown. So here is the question: How can I get/force processwire to load https? Thanks! Link to comment Share on other sites More sharing options...
arjen Posted August 4, 2016 Share Posted August 4, 2016 I try to load internal urls using ... <a href='/path/to/page/'>path to modal</a> ... instead of ... <a href='http://domain.com/path/to/page/'>path to modal</a> so either way the content is loaded depending on how the request is made. If you really want to force https you can set it in the template settings: Do you have a link we can see how the url is populated? 4 Link to comment Share on other sites More sharing options...
cstevensjr Posted August 4, 2016 Share Posted August 4, 2016 You can also make a change in your .htaccess file From To 3 Link to comment Share on other sites More sharing options...
OllieMackJames Posted August 4, 2016 Author Share Posted August 4, 2016 39 minutes ago, arjen said: Do you have a link we can see how the url is populated? Thanks arjen, this did the trick, turned out couple of templates were set to http only, after I changed that tot http or https, problem was gone, so thanks again! cstevensjr, thanks for your thoughts, I had already tried that, should have said so, but all works now, thanks! 3 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