I am currently on a Magento- with Nginx 1.6.2 and using Magento Nginx Github Conf and

shop.com takes me shop.com
But if I click any link, I see a structure like:

How could I get rid of the index.php without breaking some other parts of the shop?

location / {
            index index.html index.php;
            try_files $uri $uri/ @handler;
            expires 30d;

location @handler { ## Magento uses a common front handler
            rewrite / /index.php;
  • 1
    I'm about 99% sure this is a Magento setting called something like "Use Web Server Rewrites", not an nginx setting. – Michael Hampton Dec 1 '15 at 9:16
  • Oh .. yes, indeed. And I was searching for the problem in the NGinX conf :-S Thank you :) – Chris Dec 2 '15 at 2:34

You need to go to

System->Config->Web->Search Engine Optimization

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.