Through Catalog > Google sitemap I have just generated a sitemap.xml file.
The file itself works perfect.
My problem though is, that the file also contains inactive categories.
I can't seem to find any options to exclude these inactive categories from my generated sitemap.xml file.
Do anyone know how this can be solved?
I am using Magento ver. 1.7.0.2
Best Answer
Try this.
Edit the
app/design/frontend/your_package/your_theme/template/catalog/seo/tree.phtml
file in your theme. Add an if condition just after the foreach loop which checks for activeness of the$_item
.