0

I am working with Magento 2.3.3 my instance is on the AWS server. On Magento2 how to access CSV file exists in var folder with website URL.

i.e. I have one file resides on var/export/test.csv now I want to access this test.csv file from my website URL

  • www.abc.com/var/export/test.csv

but it is always showing a 404 error: Page not found error.

How can I solve this issue?

Thanks in advance!!

  • 1
    you can not access var folder. – Dhaduk Mitesh Jan 23 at 5:10
  • 1
    Move test.csv to pub/media folder and access it. – Dhaduk Mitesh Jan 23 at 5:13
0

you are not authorize to access var folder instead move the file in websiteUrl/pub/media to access it using website url.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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