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...