I have imported product from another shop using Magmi. And enabled Use category paths in product urls.
Truncated core_url_rewrite table.
But still full product path doesn't work.
$item->getProductUrl() returns path like
I need urls to look like http://website.com/category/subcategory/product.html
I'v tried to use some function to return product url with full path but still i can't enter that product it goes to 404 page.
What should i do? I really need help on this one.