Change the name of the route in Magento 2 For example http://magento2.loc/checkout changed to http://magento2.loc/supercheckout

Thank you for answer.


1 Answer 1


Routes are configured in route configuration. In frontend area (storefront) firstpart of url is frontName. To modify frontName of checkout route add following file in your <ModuleFolder>/etc/frontend/routes.xml:

    <router id="standard">
        <route id="checkout" frontName="supercheckout" />
  • This doesn't work since the XML expects <route> to have a child called <module> Apr 28, 2016 at 11:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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