Magento 2 — Remove index.php From Address

Image for post
Image for post

Once you have installed magento 2 project and you’d like to remove index.php from your address. Maybe from https//example.com/index.php to http://example.com/, you can easely turn On the configuration under stores > configuration > general > web > Search Engine Optimization > Use Web Server Rewrites.

Clean your cache! And voila you have your index.php disappeared from URL.

I wrote these tutorials for myself in future when I forget for the next steps.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store