3

I am currently on a Magento-1.9.2.2 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:
shop.com/index.php/category1
shop.com/index.php/product-details-1

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;
    }
2
  • 1
    I'm about 99% sure this is a Magento setting called something like "Use Web Server Rewrites", not an nginx setting. Commented Dec 1, 2015 at 9:16
  • Oh .. yes, indeed. And I was searching for the problem in the NGinX conf :-S Thank you :)
    – Chris
    Commented Dec 2, 2015 at 2:34

1 Answer 1

3

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 and acknowledge you have read our privacy policy.

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