Back to Project
Getting Started
- How to install Client Portal
- Can I use it without WordPress?
- Setting up your first portal
- Using content pages
- Importing and Exporting Portals
- Icon Cheatsheet
- Using Templates
Customisation
- How to change the fonts in Client Portal?
- How to change the 'Client Portal Archive' text
- Customizing the Client Portal login page
- Change the error message for a failed login attempt
- Redirect to a different page after logging out
- How to change the slug/permalink
Troubleshooting
- I’m not getting Client Portal updates
- I'm getting a 404 error message
- I'm getting an Nginx error message
- Excluding Client Portal from your cache
- Forgot password isn't working
- I'm not receiving Email Notifications
Security
- Are my files safe in Client Portal?
- How do I hide Client Portal from search results?
- How do private file uploads work
Users & roles
- How do I add a new user to Client Portal?
- Using multiple or different roles
- How users can self-signup to a portal
Working with Client Portal
- Introducing Client Portal to your clients
- How clients can mark as complete
- Create a to-do list with Google Sheets
- Accepting file uploads in Client Portal
- Collate notifications into digests
- Add due dates and reminders
Integrations
Legacy Documentation
How do I redirect clients to a different URL after they log out
functions.php
file. Please ensure you have a backup of your website before making this change. If you're not comfortable editing the functions.php file of your website, you can use a free plugin like Code Snippets to help.When your clients click on the Log Out link, by default they will be redirected to the Client Portal login screen. Here's what to do if you would like to redirect them to any other URL:
First navigate to Appearance, Theme File Editor and find the functions.php
link under Theme Files on the right hand side.
Then, paste the following snippet at the bottom of your functions.php file:
function my_leco_cp_logout_url() { // return the preferred URL. return home_url(); } add_filter( 'leco_cp_logout_url', 'my_leco_cp_logout_url' ); }
The above snippet will redirect your clients to your home page when they log out of their portal.
Simply change home_url(); to anything you want, and you are good to go!