Magento

Magento URL Rewrites in a Collection

To Enable Url rewrites while using a Magento collection just add this to the end of collection:

->addUrlRewrite()

which adds URL rewrites to collection flag

You Might Also Like