Skip to main content

Magento 2 - Remove index.php From Address

Updated 1 min readMarkdown
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:

About the author

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

No comments yet. Be the first to comment.

More from this blog