I created a new site for my org, all the pages other than home page get redirected to Maintenance page. I checked security settings of these pages and I see the guest user profile in the 'Enabled Profiles' list. This issue only comes up if I access these pages using public site URL. How can I fix it?

  • are you using any sobject in those vf page? If yes you need to give those object access to site user. – Ratan Paul Feb 16 '16 at 3:56
  • The issue is with any page irrespective of the content. I tried to add a plain HTML vfpage but that also has same issue. On accessing via public site URL, it gets redirected to Maintenance page. – Anum Goel - BackOffice Feb 16 '16 at 14:58
  • Goto site setting below VF page access section add you VF page.. – Ratan Paul Feb 16 '16 at 15:01
  • I have already added my VF page to the site and I can see it listed in 'Enabled VisualForce Page Access' section on site settings page – Anum Goel - BackOffice Feb 16 '16 at 17:26

I was not aware that we need to use the page url defined in 'Default Web Address field' while accessing other vf pages. I could get my pages to work after using default url followed by my vf page's path.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.