Showing results for 
Search instead for 
Did you mean: 

Modify Checkout URL

Modify Checkout URL

Hi There,


Can any one please guide me on how I can change the "Go to checkout" url to a bespoke magento URL i.e. ->




Re: Modify Checkout URL

You can change the word "checkout" in the URL to something else. Add a etc/frontend/routers.xml file to any of your modules with the following content:

<?xml version="1.0"?>

<config xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
    <router id="standard">
        <route id="checkout" frontName="thenameyouwant">
            <module name="Magento_Checkout" />

Take care that your module is being loaded after the Magento_Checkout module, i.e. by modifying your etc/module.xml as follows:

<?xml version="1.0"?>
<config xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
    <module name="Your_Module" setup_version="0.1.0">
            <module name="Magento_Checkout"/>

You cannot change the whole path easily, that'd be much more complicated.

Andreas von Studnitz, Trainer, Consultant, Developer and CEO of integer_net, Germany.