Magento Rewritebase
December 19, 2012 09:40AM
Hello,

First off all, I love your product :-) I am setting up my test system with nginx and magento is a lot faster with nginx.
Thanks for that. I have one problem where I would like some help if possible.

In my magento setup I have 2 stores, one dutch and one german for example.
The dutch one is the default and works fine. The second store is the same URL but with /de at the end.
In apache I just created a folder /de with symlinks to the correct magento folder, added a .htaccess with below and
it would work. With nginx the first page is working, but any page after that is a 404, I think because of the rewritebase /de

How should I do that with nginx?

## enable rewrites

Options +FollowSymLinks
RewriteEngine on

############################################
## you can put here your magento root folder
## path relative to web root

RewriteBase /de
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 120
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready