I have url something like http://local.magentodemo.com/customer/index/index is there any way to rename the route so it must look like http://local.magentodemo.com/customer/index.php

any suggestions, help would be very much appreciated.

  • you want rewrite the url dynamically ?? or only one url that you want to rewrite..?? – Mohammad Mujassam Oct 6 '16 at 7:16
  • i want to rewrite only one URL with .php extention – iPragmatech Oct 6 '16 at 9:57

Go to admin panel then :

Marketing > URL Rewrites > Add URL Rewrite >

Request Path :


Target Path :


add the above link in the field as given.

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.