When user types some invalid text in custom community URL, system redirects you to Standard Salesforce UI with error message as 'URL No Longer Exists'. But Global Search is available in this page. So external community user is able to search and access some public data which they should not see.

How could we avoid showing standard sfui if external VF site url is broken or any other issues such as 'Insufficient Privileges' occur? Any suggestions please.

Below are the screenshots of URL and Standard SFUI page,

enter image description here

enter image description here

1 Answer 1

Goto your community --> Workspaces --> Administration --> Pages --> Click Goto Force.com

It will show below VF pages for different situations based on the error.Based on the error VF page that you are seeing just update the content to what you want

enter image description here

  • Thanks for the info @RedDevil. But our error page is not one of these. If external user types some text in the URL after domain name like this(domain.force.com/kjdkfbdskbksbfk), it opens the URL no longer exists error page. This error page is not mentioned in the above list.
    – Arunkumar
    May 16, 2019 at 1:49
  • @Arunkumar, can you put a screenshot of that page with URL in the question please
    – RedDevil
    May 16, 2019 at 5:26
  • I have updated the screenshot of URL and SFUI page in question itself.
    – Arunkumar
    May 16, 2019 at 7:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .