Change SEO Link in the footer
-
12-12-2019 - |
Question
Does anybody here know how to change SEO link In the footer?
I installed a extension for Sitemap and I want to link it to
www.mywebsite.com/sitemap
instead of the default link
www.mywebsite.com/catalog/seo_sitemap/category
Solution
Magento managed this sitemap from catalog helper.you need to change there
copy app/code/core/Mage/Catalog/Helper/Map.php
to app/code/local/Mage/Catalog/Helper/Map.php
then goto local/Mage/Catalog/Helper/Map.php and here you find that function getCategoryUrl
return $this->_getUrl('catalog/seo_sitemap/category');
change
return $this->_getUrl('sitemap');
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange