Troubleshooting OpenCart’s .htaccess file

Recently, trying to enable SEO URLs on a local OpenCart installation I kept stumbling upon my favourite “Internal Server Error 500”.

Frustrated enough, on the second day I decided that I need to solve this in order to create accurate enough testing environment that mimics closely what users of OMF may have.

What did I do?

I commented out (using the # sign) every line that didn’t have it before in the .htaccess file and started enabling them one by one and testing the site.

In the end it turned out that for my particular configuration in order to have SEO URLs working I need to disable
Options -Indexes
and
Options +FollowSymlinks

Then everything worked just fine.

Receive a curated list of the best OpenCart tips & tricks

Delivered in your inbox weekly for free.

More OpenCart Tutorials