Title: Googlebot Got 403
Last modified: January 15, 2026

---

# Googlebot Got 403

 *  Resolved [Melly](https://wordpress.org/support/users/melissaod/)
 * (@melissaod)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/googlebot-got-403/)
 * Hello. Thank you for your plugin. I have two questions:
 * 1) I was notified by Google Search Console today that two URLs were blocked due
   to access forbidden (403). I don’t understand why they didn’t return a 404 instead.
   I’m thinking it has to do with your plugin because I have never received this
   kind of error from GSC before and I only recently installed your plugin. Any 
   ideas on why this is happening?
 * 2) Is there a way to whitelist all of Google’s IPs? I don’t want any good bots
   being blocked from my product URLs.
 * Thank you for your time.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgooglebot-got-403%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/googlebot-got-403/#post-18787473)
 * Hi [@melissaod](https://wordpress.org/support/users/melissaod/),
 * The AIOS firewall returns a 403 Forbidden error if any rule matches.
 * Can you please cross-check, adding the below constant, which solves the issue.
   You can use the Google Search Console URL Inspection tool.
 *     ```wp-block-code
       define( 'AIOS_NO_FIREWALL', true);
       ```
   
 * If yes, Please cross check if any of the following settings are enabled. If yes,
   try disabling it and check.
 * 1) Deny bad query string – AIOS > Firewall > PHP rules tab. URL Security – Deny
   bad query strings: uncheck the checkbox and save
   2) Advanced char filter – AIOS
   > Firewall > PHP rules tab. – String filtering Enable advanced character string
   filter :uncheck the checkbox and save3) 6g firewall rules – AIOS > Firewall >
   > PHP rules tab – nG firewall – Enable 6G firewall rules – uncheck the checkbox
   and save4) 5g firewall rules – AIOS > Firewall > 5G Legacy firewall rules tab.
   Enable legacy 5G firewall protection, uncheck the checkbox and save. ( This tab
   will be visible only if future is enabled in past, It is deprecated in recent
   AIOS versions.)
 * Regards

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgooglebot-got-403%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

 * [googlebot](https://wordpress.org/support/topic-tag/googlebot/)

 * 1 reply
 * 2 participants
 * Last reply from: [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * Last activity: [4 months, 3 weeks ago](https://wordpress.org/support/topic/googlebot-got-403/#post-18787473)
 * Status: resolved