Magento 2 - Remove index.php From Address

Magento 2 - Remove index.php From Address

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.


References: