+ Start a Discussion
NewportNewport 

Salesforce Sites - Authorization Required

I'm trying to expose a "Salesforce Site" publicly, but every time I go to the URL I keep getting "Authorization Required You must first long in or register before accessing this page." 

In order to eliminate this error, I've:

created a "Hello World" page that accesses no controllers or objects to eliminate Object permissions from the problem,

verified that the Site is active,

gone to the site and clicked "Public Access Settings" and configured the User Profile that comes up to be able to access the page from any IP range (000.000.000.000 to 255.255.255.255), given it every System Permission possible, and not assigned any login hours, which I assume allows the site's User Profile to access the page at any time.

I can't think of anything else to do! Thanks in advance for your help.
Best Answer chosen by Newport
Swati GSwati G
Hi,

Are you able to access that page from your admin use i.e. from salesforce using /apex/pagename?

All Answers

Swati GSwati G
Hi,

Are you able to access that page from your admin use i.e. from salesforce using /apex/pagename?
This was selected as the best answer
NewportNewport
Thanks so much Swati. This morning, I tried it and it works!

I consider this issue solved.

Sorry everyone!