How can I change the value of privacy-policy-cookie-restriction-mode link to a link of my choice? I am using Magento 2.3.2. I saw this Magento 1.9 but I do not have such page. Is there something I am missing or did wrong?

  • do you want to change URL of privacy-policy-cookie-restriction-mode ? – Pawan Nov 24 '19 at 10:17
  • Yes just the url. – h3k Nov 24 '19 at 16:35
  • did you tried my solution ? – Pawan Dec 24 '19 at 3:27

If you want to change URL of privacy-policy-cookie-restriction-mode, you need to create below file:


<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="footer_links">
            <block class="Magento\Framework\View\Element\Html\Link\Current" name="privacy-policy-link">
                    <argument name="label" xsi:type="string" translate="true">Privacy and Cookie Policy</argument>
                    <argument name="path" xsi:type="string">my-privacy</argument>

Above code will change URL for Privacy and Cookie Policy. After that you need to create CMS page with identifier you used in above code i.e my-privacy

Hope above will help!

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.