[Skip to main content](#vessel-content)

#   Access registered content

##

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

15 years 2 months ago [\#24270](#24270) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Access registered content](/forum/4-how-to/23443-access-registered-content?start=20#24270 "Hi!  When trying to access the customer account not logged-in and SEF has been displayed a login form is displayed and after successful login he get's redirected to the customer account site. When we have SEF enabled, the user gets the 404 error message from Joomla. Is it possible to display the login form also when SEF is enabled?  Best regards")*

something like that:
$user =&amp; JFactory::getUser();
if(!empty($user-&gt;id)){
...do the redirect....
}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIzNDQzLWFjY2Vzcy1yZWdpc3RlcmVkLWNvbnRlbnQ/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emergentec](/forum/user/949-emergentec "View emergentec's Profile")**
- [![emergentec's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/949-emergentec "View emergentec's Profile") Topic Author
- [ Offline](/forum/user/949-emergentec)

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 2 months ago [\#25343](#25343) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: Access registered content](/forum/4-how-to/23443-access-registered-content?start=20#25343 "Hi!  When trying to access the customer account not logged-in and SEF has been displayed a login form is displayed and after successful login he get's redirected to the customer account site. When we have SEF enabled, the user gets the 404 error message from Joomla. Is it possible to display the login form also when SEF is enabled?  Best regards")*

When accessing the URL http://....com/mybio/product/ we now get the message "Please login first" and a logout button, because we are already logged in. Is there a way to handle this situation better?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIzNDQzLWFjY2Vzcy1yZWdpc3RlcmVkLWNvbnRlbnQ/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

15 years 2 months ago [\#25346](#25346) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Access registered content](/forum/4-how-to/23443-access-registered-content?start=20#25346 "Hi!  When trying to access the customer account not logged-in and SEF has been displayed a login form is displayed and after successful login he get's redirected to the customer account site. When we have SEF enabled, the user gets the 404 error message from Joomla. Is it possible to display the login form also when SEF is enabled?  Best regards")*

Not easily.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIzNDQzLWFjY2Vzcy1yZWdpc3RlcmVkLWNvbnRlbnQ/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emergentec](/forum/user/949-emergentec "View emergentec's Profile")**
- [![emergentec's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/949-emergentec "View emergentec's Profile") Topic Author
- [ Offline](/forum/user/949-emergentec)

Less More

- Posts: 137
- Thank you received: 2
-
-

14 years 10 months ago [\#36104](#36104) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: Access registered content](/forum/4-how-to/23443-access-registered-content?start=20#36104 "Hi!  When trying to access the customer account not logged-in and SEF has been displayed a login form is displayed and after successful login he get's redirected to the customer account site. When we have SEF enabled, the user gets the 404 error message from Joomla. Is it possible to display the login form also when SEF is enabled?  Best regards")*

When a user enters a wrong UID, password combination the "your login failed" message appears. But additionally the "Please login first" message appears. Is it possible to hide the second message in this case?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIzNDQzLWFjY2Vzcy1yZWdpc3RlcmVkLWNvbnRlbnQ/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

14 years 10 months ago [\#36153](#36153) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Access registered content](/forum/4-how-to/23443-access-registered-content?start=20#36153 "Hi!  When trying to access the customer account not logged-in and SEF has been displayed a login form is displayed and after successful login he get's redirected to the customer account site. When we have SEF enabled, the user gets the 404 error message from Joomla. Is it possible to display the login form also when SEF is enabled?  Best regards")*

No it's not.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIzNDQzLWFjY2Vzcy1yZWdpc3RlcmVkLWNvbnRlbnQ/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.052 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
