I recently upgraded to Magento 2.4.6. I've always had a folder named "PS" with pdf files in my magento root but now I can't access it. I noticed that this line from RewriteRule . /pub/$0[L]* my root .htaccess plays a part in blocking it? What changes in my .htaccess should I make to make the PS folder and it's pdf files available.
Hello @kanchi777k3aa3
Please follow the steps below to allow access to a folder in Magento 2 using .htaccess:
Order allow,deny
Allow from all
If you find our reply helpful, please give us kudos.
A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9