How to edit / remove the footer links in magento 2

1. As an example, we shall remove the footer links for the “luma” theme, so the path is
magento root dir/vendor/magento/theme-frontend-luma/Magento_Theme/layout/default.xml

Otherwise if you want to edit your custom theme, then your path is similar to
magento root dir/app/design/frontend/Your Theme NAME_SPACE/theme name/etc/Magento_Theme/layout/default.xml

Add this line after the BODY tag
<referenceBlock name="footer_links" remove="true">

2. The links "About us" and "Customer Service" are still visible and can be edited from
CMS Page–>Blocks/footer_links_block

3. Clear the cache via admin and you are done.


To remove individual links, edit default.xml and add this code into < body > tag:
<referenceBlock name="name_of_link_block" remove="true">

Name of link block:
Privacy and Cookie Policy: privacy-policy-link
Search Terms: search-term-popular-link
Contact Us: contact-us-link
Advanced Search: catalog-search-advanced-link
Orders and Returns: sales-guest-form-link

To add new links to footer links, use this code:
<referenceBlock name="footer_links">
<block class="Magento\Framework\View\Element\Html\Link\Current" name="your-link-name">
<arguments>
<argument name="label" xsi:type="string">Title</argument>
<argument name="path" xsi:type="string">path-of-your-page</argument>
</arguments>
</block>
</referenceBlock>