You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Ingo Wolfmayr <in...@wolfix.at> on 2019/11/27 14:56:14 UTC

Redirect after login

Hi everybody,

I have a question about login redirection.

I habe a B2B ecommerce shop that requires the customer to login. So for example 
if the customer enters https://domain/ecommerce/category/MyCategory-mycategory.html from a link he is redirected to the login page. Fine so far. When he 
logs in he is redirected to https://domain/ecommerce/category and gets an error 
page.  My goal would be that the customer is redirected to the correct page https://
domain/ecommerce/category/MyCategory-mycategory.html

Does someone know what I have to do in order to have this working?

I am using the seo url extension.

Best regards
Ingo


Re: Redirect after login

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Ingo,

This is really custom code. OOTB no product page in ecommerce/ecomseo needs to be logged in to show.
You though may have a look at how ecomseo/editShoppingList works and check SeoConfig.xml, notably the <url-configs> section. I recently had to tweak 
it for https://issues.apache.org/jira/browse/OFBIZ-11267

HTH

Jacques

Le 27/11/2019 à 15:56, Ingo Wolfmayr a écrit :
> Hi everybody,
>
> I have a question about login redirection.
>
> I habe a B2B ecommerce shop that requires the customer to login. So for example
> if the customer enters https://domain/ecommerce/category/MyCategory-mycategory.html from a link he is redirected to the login page. Fine so far. When he
> logs in he is redirected to https://domain/ecommerce/category and gets an error
> page.  My goal would be that the customer is redirected to the correct page https://
> domain/ecommerce/category/MyCategory-mycategory.html
>
> Does someone know what I have to do in order to have this working?
>
> I am using the seo url extension.
>
> Best regards
> Ingo
>
>