Saifudheen is a young Entrepreneur from Kerala, India who founded MakTal™. This blog aims at helping individuals and businesses with the knowledge he gained throughout his career. Like his facebook page to stay updated.

How to Fix WordPress error 403 Issue

You may have seen wordpress 403 error or 403 forbidden error when you browse some parts of the dashboard or even the main site. It may lead you to a lot of confusions. In this post, I will tell you how to fix error 403 issue on wordpress.

Why do I see error 403?

In most cases, this issue is related to htaccess url rewriting. And in some other cases, you are trying to access a directory that disallows directory browsing! Confused? You can configure to disallow direct access to a directory. This can be done using htaccess. Most people do this method to secure their files. So if you are trying to access a directory like site.com/directory/, you may be seeing this issue. Also the issue may happen because of cache and cookie issues on your browser.

Fix 1: Clear cache and cookies

The first step to do is to check whether the issue is with the browser or not. Try clearing your browser history, cookies and cache. Now try accessing the site. If it didnt work, move on to next the step.

Fix 2: Try a different browser

It may sound stupid, but its needed! Try a different browser or use your phone to browser that page and see if the issue is there. Through this way, we can understand if the issue is with the site or not. If you still see the issue, you may do the following technical fixes.

Fix 3: htaccess Fix

Make sure that your htaccess has default configuration only. A default wordpress htaccess looks like the following.

# BEGIN WordPress

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

If you are already having this, try adding the following lines to htaccess starting from the next line after #END WordPress.

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

This should fix your problem. If it didnt, try the next step to fix error 403.

Fix 4: Check folder

Check the folder you are trying to access. For example in the url site.com/wp-admin/admin.php , you are trying to access admin.php in wp-admin folder. Check if there is an htaccess file or not. If it is there, open and check if it contains the code that disallow directory browsing.

If the above issues didnt work, you may contact me and I will take a look on your error 403 issue.

Saifudheen is a young entrepreneur from the great India who founded MakTal™. He is a passionate designer, color lover, coder and knowledge giver ;)