- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2016
01:42 PM
05-10-2016
01:42 PM
There is no .htaccess file in root folder in Magento 2..0.4
Hi
I am trying to setup multiple Domain , which need .htaccess file to be edited with some code but I couldn't find this file in the root directory. I am using Ubanto12.0 and Apache2 webserver.
I had the same issue with 1.9, but I copied this .htaccess file from downloaded folder to root folder of the website and it was working fine. But Magento 2.0.4 dont have this file at all in its downloaded folder too. Please help
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2016
06:48 PM
05-10-2016
06:48 PM
Re: There is no .htaccess file in root folder in Magento 2..0.4
The .htaccess file is present in the Magento 2 code base: https://github.com/magento/magento2/blob/2.0.4/.htaccess
I think you have just lost it (or it is invisible because of the name starting with the dot).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2016
01:40 AM
05-13-2016
01:40 AM
Re: There is no .htaccess file in root folder in Magento 2..0.4
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2017
06:32 AM
03-19-2017
06:32 AM
Re: There is no .htaccess file in root folder in Magento 2..0.4
This is how to show hidden files in cPanel