Reputation: 685
I have a wordpress
website. It is showing this kind of errors for some files Forbidden
You don't have permission to access /wp-content/themes/clementina/assets/js/plugins.min.js on this server. Server unable to read htaccess file, denying access to be safe
My website is misbehaving because of this error.
Upvotes: 0
Views: 1835
Reputation: 2341
How to solve 403 forbidden error in wordpress?
This will happened with the permission issue generally WordPress required few permission to execute
Wp-content - 775
wp-admin - 775
wp-includes - 755
.htaccess - 755
Then will fixed this issue
Upvotes: 0
Reputation: 579
Will you please add this .htaccess file on root
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Upvotes: 1
Reputation: 579
Please set the permission to 0755 to your wp-content folder
Upvotes: 2