I am facing a problem in making my visualforce page work on force.com(sites).
- Created a new visualforce page and it works fine when I click on preview button.
- Added the page to site.com and granted access to the user by clicking on the public access settings button on the site.
- When user logs into site(HTTPS protocol) and navigates to the Visualforce page created above it shows the error message saying "An error occured while loading the visualforce page". If I change https to http in the url it is working fine.
Question: so how do I make my visualforce work on HTTPS protocol on the site that I am adding to?? Please help me.
Below are relevant screenshots on what I am talking about:
Visualforce page:
Sites:
Site settings:
Site login settings:
secure
in the host name where the non-secure version does not... does your app's misbehavior change if you include "secure" in your hostname?https://yoursite.secure.force.com/apex/pagename
– Mark Pond Nov 26 '15 at 0:02