Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

.htaccess file was deleted, how can I resolve this? 
 
clickcomkyle
Jr. Member
 
Total Posts:  28
Joined:  2008-08-07
 

We built a magento site for a customer, and they hired an ‘SEO’ guy to do some work. Reluctantly we gave them FTP access, and they’ve now deleted their .htaccess file (the one in the root). Obviously without it, magento isnt functioning very well. Is there a way to rebuild it?

 
Magento Community Magento Community
Magento Community
Magento Community
 
acatch03
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2009-02-22
 

There is a .htaccess.sample file in root directory if it was not deleted. If there is you can rename it to .htaccess and modify it for your needs. You could also download the magento pack and just copy the .htaccess to your root. If it was a custom .htaccess that was deleted you will just have to edit it again and make a backup copy

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top