403 Error after Putting in Google Search Console Verification

Alizaib Hassan

Updated on February 4, 2024

403 Error after Putting in Google Search Console Verification – How to Fix


If you are facing a 403 error after adding Google Search Console verification to your website, you may feel frustrated and uncertain about how to proceed. However, fear not! In this comprehensive guide, we will explain the reasons behind this error and provide step-by-step instructions on how to fix it. By following these proven methods, you can quickly overcome the 403 error and ensure smooth verification within the Google Search Console.

What is a 403 Error?

403 Error after Putting in Google Search Console Verification

A 403 error, also known as a “Forbidden” error, occurs when the server recognizes your request, but refuses to fulfill it. In simpler terms, it means you do not have the necessary permissions to access the requested page or resource. When you encounter a 403 error during the Google Search Console verification process, it typically indicates a misconfiguration or security issue on your website.

Main Causes of 403 Errors after Google Search Console Verification

There are several possible causes for encountering a 403 error after adding Google Search Console verification. Understanding these causes can help you pinpoint the specific issue and resolve it effectively:

1. Incorrect Permissions

One common cause of a 403 error is incorrect file or directory permissions. When you add Google Search Console verification, it requires accessing and reading specific files on your website. If the permissions are set improperly, the server may deny access, triggering the error.

2. Mod_security Rules

Mod_security is a web application firewall that provides an additional layer of security for your website. However, it can sometimes have strict rules that flag Googlebot’s request as potentially malicious, leading to a 403 error. This security measure aims to protect your website from potential threats but can become a hindrance during the verification process.

3. Server Configuration

Server misconfigurations, such as incorrect access restrictions or disabled server modules, can prevent the successful verification of your website through the Google Search Console. These misconfigurations may restrict Googlebot’s access and result in a 403 error.

how to fix a 403 error after Google Search Console Verification

Now that we understand some common causes behind the 403 error, let’s explore the step-by-step process to fix it:

1. Check File and Directory Permissions

The first step is to ensure that the files and directories involved in the verification process have the correct permissions. Most files should have permissions set to 644, and directories should be 755. These permissions allow the necessary access for Googlebot to verify your website successfully.

2. Exclude Googlebot from Mod_security Rules

If you have mod_security rules enabled, you can exclude Googlebot from these rules to prevent it from being flagged as potentially malicious. By whitelisting Googlebot’s user agent or IP address, you can avoid triggering the 403 error during the verification process.

3. Verify Server Configuration

Check your server configuration to ensure that there are no access restrictions or disabled server modules preventing Googlebot from completing the verification. You can consult with your hosting provider or server administrator to review the configuration settings and make any necessary adjustments.

4. Troubleshoot with Google Support

If the above steps do not resolve the issue, don’t give up just yet! Reach out to the dedicated support team at Google. They can provide further guidance specific to your case, ensuring efficient resolution of the 403 error.


Encountering a 403 error after adding Google Search Console verification can be frustrating, but it is not an insurmountable problem. By carefully following the steps outlined in this guide and addressing the possible causes, you can successfully overcome the 403 error and complete the verification process. Remember, if you need additional assistance, Google’s support team is always there to lend a helping hand. So, don’t let technical glitches hinder your website’s performance—take action with confidence!