-
Hello,
I would like to redirect user to the home page when the user click the button “logout” (which is displayed automatically in View and Edit profile mode).
In some similar question you recommended use the option:
logout_redirect=xxxIs it suitable for my issue too? If yes, could you please explain in more detail how to use this option (example with url and all syntaxes and where to paste).
Thanks!
Hi Julia!
try that:
[userpro template=view logout_redirect=”your_homepage”]
Hi,
I tried this code in header.php:
<?php echo do_shortcode(‘[userpro_loggedout]Login | Register[/userpro_loggedout][userpro_loggedin]Welcome, [first_name] [last_name] ! | Logout[/userpro_loggedin]‘); ?>
I added it in header.php and all is working fine. But when i visit mydomain.com/profile/admin.
The message “Welcome, admin | Logout” disappears. Also the logout button in profile box disappears.What would be the problem. please some body help.
@maxsri ,
Answered to the same question in the other thread! 🙂hi i used this code as said by admin
[userpro template=view logout_redirect=”your_homepage”]
when i used that short code and login in using the login page ..it doesnot login to the profile page instead goes to page that says
Nothing Found
Apologies, but no results were found. Perhaps searching will help find a related post.but once i close this page and paste the Login page URL again on the browser and press enter then it goes to the profile
Can anyone suggest a fix?
Hello,
I checked this on my test server and login is working fine.
Request you to please raise the issue using the contact form on my profile page along with the site details, this would help me to track the issue to closure. Link to contact page is – http://codecanyon.net/user/DeluxeThemes#contact Thanks.
You must be logged in to reply to this topic.