In order to enter in category, product or admin i need to specify index.php.

So linsk look like this site.dev/index.php/category_name. I m using apache server.

  • Could you check if mod_rewrite is enabled on the server? – Arjen Miedema Jan 31 '17 at 20:09

Have you thought about just calling the catalog/category model instead to get the URL from the category ID?


<?php echo Mage::getModel("catalog/category")->load(7)->getUrl(); ?>

7 would be your category ID.

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.