I am looking to amend the link to the Privacy Policy in my Magento 2.3.x installation. It is currently pointing to /privacy-policy-cookie-restriction-mode however I would like it to point to /privacy-policy.

I have inserted the following code to default.xml and cleared my cache but it has no effect. I'm struggling to troubleshoot.

 <!-- Corrects Privacy Policy Link -->
    <referenceBlock name="footer_links">

    <block class="Magento\Framework\View\Element\Html\Link\Current" name="privacy-policy-cookie-restriction-mode">


    <argument name="label" xsi:type="string">Privacy Policy</argument>

    <argument name="path" xsi:type="string">privacy-policy</argument>




Please check with footers links are have from two place :

  1. in cms block footer_links_block you can edit which will effect in footer
  2. all core module search referenceBlock="footer_links" in xml files where ever they added links and display in footer
  • I can not find the CMS block you are referring too? – Jimothy Jul 10 '19 at 12:20
  • can you please check with xml / second option – Anas Mansuri Jul 10 '19 at 12:20
  • check with this path - vendor/magento/module-cms/view/frontend/layout/default.xml – Anas Mansuri Jul 10 '19 at 12:22
  • There is no such folder in my installation – Jimothy Jul 10 '19 at 12:24
  • vendor/magento/module-cms/view/frontend/layout/default.xml – Anas Mansuri Jul 10 '19 at 12:24

the way I ended up fixing this issue is by removing the link from the footer and re-adding my custom Privacy Policy link to a static block in the footer.

Achieves the same result and looks like the cleanest solution to me.

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.