Magento 1.9 includes all the products of the selected category and all the subcategories in the product list on the frontend.
I have configurable products in the main category and all the simple products in subcategories.
It is important for SEO that only the selected category products are shown to be indexed by Google.
Therefore I only want the products listed in the selected category.
I have searched this forum and others but I couldn't find a solution.
In the file
catalog/product/list.phtml the method getLoadedProductCollection is used to get the product collection.
How can I change the collection to get the desired effect so that only the products in the selected category are returned?