I am trying to add new link in footer using CMS block and I know how to do that.first create new block in admin then go to your theme's layout->default.xml file and add below code so it will show link in Front end footer section.

<referenceContainer name="footer">
        <block class="Magento\Framework\View\Element\Html\Link\Current" name="Our Store">
                <argument name="label" xsi:type="string">Our Story</argument>
                <argument name="path" xsi:type="string">Our Story</argument>

Now I have one problem is that which path I need to assign so when I click on this link it go to my Block's contain.

 <argument name="path" xsi:type="string">Our Story</argument>

on the above code what I need to specify or replace Our Story? so when I click on Our Story I go to this block's contain that I add in admin.right now I am getting 404 page not found.

  • 1
    check the path you gave and the cms page url key is same
    – Asish Hira
    May 31, 2016 at 7:56

1 Answer 1


check the path you gave and the cms page url key is same!

You are getting 404. So your cms page url key is not same as path!

Your Answer

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

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