2

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
2
  • which magento version?
    – Amit Bera
    Aug 26, 2014 at 7:33
  • i'm using magento enterprise 1.14 Aug 26, 2014 at 7:37

1 Answer 1

1

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');
4
  • can you give me the path? Aug 26, 2014 at 7:37
  • hey Alyssa is it works?
    – Amit Bera
    Aug 26, 2014 at 7:58
  • Heeey! It works! You're a genius! Aug 26, 2014 at 8:08
  • I've tried this and the link in the footer changes, however, I am getting a 404 page when I click the updated link. Edit: Magento CE 1.9.1
    – NotJay
    Jan 6, 2016 at 15:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.