Redirect after login

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Redirect after login

iwolf
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

Reply | Threaded
Open this post in threaded view
|

Re: Redirect after login

Jacques Le Roux
Administrator
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
>
>