How to Add and edit Footer Links in Magento 2

How to Add and edit Footer Links in Magento 2

Website footers may not be the place with great design or content, but its the place where the visitors look for the details. And the Magento 2 store owners cannot afford to miss any vital details or links in the footer.

However, the default Magento 2 footer is not up to the mark. The store owners have to modify the footer in order to deliver all the required information and the links.

Fortunately, Magento 2 is a flexible CMS that allows editing the footer.

The programmatic method to add and edit footer links in Magento 2 makes it easy for the admin to customize the footer.

Method to Add and Edit Footer Links in Magento 2:

  1. Create module.xml file at app/code/Vendor/Extension/etc/ directory
  2. Create registration.php file at app/code/Vendor/Extension directory

To remove the Privacy and Cookie Policy link from the footer:

Create default.xml file at app/code/Vendor/Extension/view/frontend/layout directory

To add new footer link:

That’s it.

Please use the Comments section below if you have any doubts on the topic and I’d be happy to help.

Feel free to share the solution with the fellow developers via social media.

Get Weekly Updates

Never miss Magento tips, tricks, tutorials, and news.

Thank you for subscribing.

Something went wrong.

(based on 14 Reviews)

Sanjay is a co-founder at Meetanshi. He is a Certified Magento Developer who loves creating Magento E-commerce solutions. Owing to his contributions in Magento Forums and posting solutions, he is among the top 50 contributors of the Magento community in 2019. When he is not engrossed with anything related to Magento, he loves to play cricket.

4 comments On How to Add and edit Footer Links in Magento 2

  • Hi, I tried this out, following the steps 1, 2 and 3 exactly but privacy link still appears. I’m using exact file names and exact directory structure as above, I also flushed Magento Cache.
    I’m using Magento 2.3.5 and Luma theme.

    Any ideas?


    • Hello Janak,
      We have cross-verified the solution and it works perfectly fine for us.
      It seems there’s some other mistake which is going unnoticed. Please make sure of the same.
      Thank you.

      • Hi, thanks you for your reply,

        Thanks for your help, I’m new to Magento development, I put in my actual Vendor and Extension names in the directory paths and in the files and it all worked. A great post.


Leave a reply:

Your email address will not be published.