How can I delete the /index.php from the frontend URL's? Thank you!


Sorry, why you cannot delete it .It is entry point of route of url for both frontend and admin section.

If delete it then both and admin will not work.

I guess that you want remove index.php from admin.

That can be done via magento setting

  • 1.Goto admin> Stores > Configuration > Web
  • 2 Then goto Search Engine Optimization section
  • 3 Set Web Server Rewrites to Yes
  • 4 Save Config

But make sure Mod rewrite is enabled at Apache or nginx level

| improve this answer | |
  • 1
    simple rewrite, to avoid google index with /index.php – MagenX Dec 18 '17 at 10:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.