More than 800+ satisfied clients and counting, since 2010


How to Insert Links in Magento Websites using Codes

Insert Links in Magento Websites using CodesMagento allows content writers to insert a link within the Magento web page in three different ways. We have already discussed how to insert a link using frontend apps and using the inbuilt toolbar. This tutorial is the last part of the series. It is the easiest way to add a link in Magento content. Follow the steps given below carefully.

Steps to Insert a Link in Magento Websites using Codes

  • Log in to your Magento store backend after entering the correct credentials
  • From the Admin Panel, go to CMS > Static Blocks
  • Inside the Static Blocks list, click to open the Footer Links block
  • Next click the Show / Hide Editor button to display the code for the block content
  • Follow the example given below and replace the URL key and Title with the actual values
<li><a href="{{store direct_url="about-us"}}">About</a></li>
<li><a href="{{store direct_url="privacy-policy"}}">Privacy</a></li>
<li class="last"><a href="{{store direct_url="customer-service"}}">Service</a></li>
  • Once again click the Show / Hide Editor to return back to the editor
  • Click the Save Block button to save the changes made

Do not forget to test the links. Go back to your store and ensure that it works correctly. Check whether the link navigates to the desired web page or not and also ensure that the link is not broken.

Written by

The author didnt add any Information to his profile yet