How to remove index.php from url in magento Ans : If you want to access your magento URL without index.php…