• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Private Site want to send users to custom page not /login

What you want to do is tricky because if you redirect when someone visits /login, how a visitor will be able to login?
 
I'm not a 100% sure how it works. Obviously I don't want a redirect setup on the login page. Because your right no one would be able to get into their account. I was assuming that when you go to the main site instead of sending them to the login page I could send them to another page "/welcome" where I would have a link to the login page. But it sounds like I could get into a redirect loop where they are always being sent the "/welcome" page?
 
app/loader.php

PHP:
                if(!in_array($handler->request_array[0], $allowed_requests)) {
                    G\redirect('login');
                }
 
Back
Top