SwissUpLabs Logo

Magento 2: Removing default footer links

Theme Editor

You can remove the whole footer links block using theme editor: Footer Layout

Layout XML

  • Create a custom Argento theme
  • Create/add Magento_Theme/layout/default.xml in your custom theme
  • Add following content to it:
    <?xml version="1.0"?>
    <page xmlns:xsi=""
            <!-- Privacy policy -->
            <referenceBlock name="privacy-policy-link" remove="true"/>
            <!-- Search terms -->
            <referenceBlock name="search-term-popular-link" remove="true"/>
            <!-- Advanced search -->
            <referenceBlock name="catalog-search-advanced-link" remove="true"/>
            <!-- Guest form link -->
            <referenceBlock name="sales-guest-form-link" remove="true"/>
            <!-- Swissup Sitemap foter link -->
            <referenceBlock name="sitemap-link-footer" remove="true"/>
Edit this Page