Jump to content

nginx rewrites need help


Recommended Posts

Hi everyone,

 

I am wondering that I didn't find any solution for the following problem, as I guess this might be nothing related to a too special configuration.

 

I am on a nginx server (1.8) with prestashop 1.6.1.4. It is a pure nginx server no reverse proxy.

 

I have added the config directive as explained in the prestashop docs

http://doc.prestashop.com/display/PS16/System+Administrator+Guide

 

Everything works fine so far except things

 

1. A logged in user can't logg out

 

2. the compare list (after filled with items) is empty again, by calling the compare page

 

With many hours of trying to find the cause, I could identify that this problem only comes, when I hava activated seofriendly urls and the shop is running in a multilingual mode (2 languages in my case).

 

As soon as I or disable seofriendly urls or deactivating 1 language the problem is gone.

 

I found as well, that the logout issue can be handled by modiying the logout link, which is by default

 

http://mydomain.com/de/?mylogout=

 

by manually changing to

 

http://mydomain.com/?mylogout=

 

So my question is:

 

Can anybody give me a nginx rewrite rule that handles this above explained url redirection?

 

Thx a lot in advance.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...