Remove index.php from Magento 2 url

Remove index.php from Magento 2 url

In this post we will show you Remove index.php from Magento 2 url, hear for Remove index.php from Magento 2 url we will give you demo and example for implement.

how to Remove index.php in Magento 2 url
how to Remove index.php in Magento 2 url

how to Remove index.php from Magento 2 url

Removing index.php from your Magento 2 website is easy. we do not need to manually alter your .htaccess file, but to enable Web Server Rewrites within Magento.

To change your site from;

https://onlinecode.org/index.php



to

https://onlinecode.org/


Login in to your Magento 2 admin area and follow this step :

Stores > Configuration > Web > Search Engine Optimization > Use Web Server Rewrites

Then select Yes, as shown in the screengrab below.

Hope this code and post will helped you for implement Remove index.php from Magento 2 url. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve onlincode. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs onlincode.org

Leave a Comment

Your email address will not be published. Required fields are marked *

  +  32  =  36

We're accepting well-written guest posts and this is a great opportunity to collaborate : Contact US