Upendra Sharma
Upendra Sharma

Reputation: 685

How to solve 403 forbidden error in wordpress?

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

Answers (3)

Thilina Dharmasena
Thilina Dharmasena

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

Piyush Dhanotiya
Piyush Dhanotiya

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

Piyush Dhanotiya
Piyush Dhanotiya

Reputation: 579

Please set the permission to 0755 to your wp-content folder

Upvotes: 2

Related Questions