Is it possible to redirect to the home page, not the contact page after an already registered user logs in?

Created by Rosa Truong, Modified on Tue, 20 Apr 2021 at 02:19 PM by Rosa Truong

Issue:  

When the already registered user logs in they are redirected to the contact page and not to the home page. is it possible to fix this? I am using Porto theme as well.


Solution: 

It redirects to the contact page due to that href tag <a> on the code content CMS block porto_custom_menu setting referent is the contact page.

To redirect to the homepage, please follow and change the code like that

<li class="ui-menu-item level0 fl-right" style="background-color: #244082; color:white;"> <a class="level-top" href="https://cubiaalimentari.it/customer/account/login/referer/aHR0cHM6Ly9jdWJpYWFsaW1lbnRhcmkuaXQv/"><span>Accedi</span></a></li>

    </li>

</ul>

If you need any further assistance, please feel free to contact us.

We're more than happy to support you.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article