Skip to main content

Command Palette

Search for a command to run...

Magento 2 - Remove index.php From Address

Published
1 min read
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:

More from this blog

F

Fiko Borizqy (Bestafiko)

51 posts

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