1

When setting up Login & Registration pages in community, it's possible to select different page types.

enter image description here

Each of these type accessible by different URL:

When a community is published and activated, BOTH URLs are active. That is when I go to this URL /login, it opens the default page. When I click this URL /s/login/, the community builder page is opened. What I need is when I select Community Builder Page as a page type for login, then default page should not be accessible. I have custom logic in the community builder page custom controller which prevents certain users from login. But if standard default page is alive, then users can simply bypass our custom validations. This is not good.

Is it possible to deactivate default page at all?

  • do you want to use a custom login page? – RedDevil Dec 4 '19 at 14:23
  • Yes, I want to use a custom login page only. But the problem is when I use, the default page is also accessible. This means that users have two separate pages for login. And since the default page is not customizable, I cannot add validations there to prevent certain users from signing in. – Eduard Dec 4 '19 at 14:28
1

Make a URL Redirect from the default login page to your custom login page. This can be found on the Site detail page, a button labeled "URL Redirects". Create a new rule that puts a permanent redirect from /login to the desired login page. Be aware that if your community has a custom URL path, then the Target URL may also need to include this path.

This won't deactivate the default page per se, but users won't be able to reach it.

| 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.