menus of main store's urls are as follow.


But menus of the child stores' urls are as follow.


I want to change the url of main store to


I want to change the url of child stores to


How can I do it?

  • 2
    Rebuild your catalog url rewrites.
    – Marius
    Oct 3, 2013 at 8:14
  • Thank Marius. I did reindexing. everything are going well as your comment. But I didn't find to up-vote or do something. So I thank you from here.
    – Thu Ra
    Oct 4, 2013 at 3:01

2 Answers 2


Firstly to remove the index.php from your shop's urls can be done by updating the system config found in the admin site under:

System->Configuration->Web->Search Engines Optimization

Here if you set the option Use Web Server Rewrites to yes

Note: you may need to update the value of RewriteBase in your htaccess file to make this work

The option to remove the .html suffex on product and category pages can also be set under the admin config.

System->Configuration->Catalog->Search Engines Optimization

Here you will find the fields Product and Category URL Suffix. If you empty these two fields, save the config and then refresh the Catalog URL Rewrites index then you should have category and product urls without the index.php and without the .html


First of all you have to remove index.php from the URL and to do this follow following steps:

  1. First of all, apache module ‘mod_rewrite‘ should be enabled. Check apache’s httpd.conf file this.
  2. Then login to Magento admin panel and go to System -> Configuration -> Web -> Search Engines Optimization -> Use Web Server Rewrites and select ‘Yes’ from the selection list and save.

If your store is setup on sub-directory (example: http://example.com/store) then you have to edit htaccess file. In this file you have to remove # from #RewriteBase / and replace it with RewriteBase /store/ (store is sub-directory name).

If you want to remove .html from product and category urls then you have to follow following steps:

  1. Go to System -> Configuration -> Catalog -> Search Engines Optimization
  2. Empty product and category url suffix and save the configuration.
  3. Go to System -> Index Management and reindex data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.