1
votes

I don't have my .htaccess file for my magento installation which is by default present for all the fresh magento installation.

Now I have to remove "index.php" from my wesite url and found out htaccess file needs to be edited. But, there is no .htaccess file in my magento root folder.

Also, I have made a lot of changes to the website and don't want to do a fresh installation to get the .htaccess file.

Also, when I access my admin panel it also needs "index.php" in the URL.

Please, can someone help me with this.

1

1 Answers

0
votes

To Remove the inde.php from the URL you need to enable Web Server Rewrites.

You can enable Web Server Rewrites suing below steps:

  1. Login in Backend, from Top Navigation click on System >> Configuration >> Web
  2. Select Use Web Server Rewrites to YES in Search Engines Optimization group.

If you need .htaccess file, you can donwload the compatible magento zip file and can use its .htaccess. There is no need to install magento for this.