Error 500: internal server error after set deny/allow in .htaccess file
I was following the WordPress article https://www.inmotionhosting.com/support/edu/website-design/access-specific-filetype/
In my .htaccess file under public_html folder, I pasted the exact code,
Deny from all
Allow from all
Then I encountered Error 500 while trying to load up my website. Please advise.
Thank you for your question regarding .htaccess code. I recommend adding a \ to the FilesMatch line as below: