function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
textualtextual 

cant view apex pages, redirects to other users org

we're using domains so maybe that the issue but when i go to put in /apex/page_name it goes to a login screen with a different domain than mine. not only for the page i just made and want to view, but for all vf pages (well i checked a couple)

sample url from my org: https://company--dan.cs12.my.salesforce.com/003P000000G2zaB

i should just be able to put apex pagename at the end of the url like this::

https://company--dan.cs12.my.salesforce.com/apex/page_name

but instead it redirects to another users org to login
i tried a few variations but havent gotten it right yet

 
ShashankShashank (Salesforce Developers) 
Are you just manually typing in that URL? Or is it happening when you click on a custom button or something which has this url? Are you logged in when you try to access it?
textualtextual
both when i type in the url and also click the preview link for the page under develop > pages > preview...
ShashankShashank (Salesforce Developers) 

It probably has something to do with the code in the vf page. Will you be able to post the code?

textualtextual
turns out there was an issue when my org was refreshed to where the refresh didnt complete correctly. salesforce techs were able to resolve. i feel much better now. +1 sf tech