1

Main site url

I have removed the index.hmtl file from root but still site is redirecting to index.html and i couldn't find any mode rewrite in the htaccess file. But site is still redirecting to index.html.

How to remove the redirection or re - redirect into index.php

Suggest me please.

4

1 Answer 1

1

goto your htaccess file of magento root dir

Find DirectoryIndex and set index.php as default index file

Put it code as

DirectoryIndex index.php

If it doest not work then discuss with your hosting provider They may be define default index in apache config. file.

Also check the system in private browser

3
  • DirectoryIndex index.php is already in the .htaccess file and it is correct Sep 23, 2015 at 8:27
  • @BishalNeupane perhaps your apache config does not allow overwrites thats why your htaccess is not working Sep 23, 2015 at 8:29
  • Can i configure the apache config file with godady hosting Sep 23, 2015 at 8:33

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.