Title: 403 Forbidden
Last modified: August 31, 2016

---

# 403 Forbidden

 *  Resolved [adamzeibak](https://wordpress.org/support/users/adamzeibak/)
 * (@adamzeibak)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/403-forbidden-91/)
 * This has only been happening for a couple of days. Everything was fine before
   then. Wordfence is “denying” my server IP address in the .htaccess file. I have
   to FTP and delete the line so I can have access to my page. Why would it do this?
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [WFBrian](https://wordpress.org/support/users/wfbrian/)
 * (@wfbrian)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/403-forbidden-91/#post-7005915)
 * Hi,
 * Do you have any custom rules added to your .htaccess file or other plugins that
   write to .htaccess? Do you have Falcon caching enabled?
 * Thanks,
    Brian
 *  Thread Starter [adamzeibak](https://wordpress.org/support/users/adamzeibak/)
 * (@adamzeibak)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/403-forbidden-91/#post-7005934)
 * Hi Brian,
 * Yes, Falcon caching is enabled. Only Wordfence writes to .htaccess. The site 
   is forbidden again…Should I just put the server IP address into the white list?
   Wouldn’t that just let all suspicious traffic in?
 * Thanks,
    Adam
 *  Plugin Author [WFMattR](https://wordpress.org/support/users/wfmattr/)
 * (@wfmattr)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/403-forbidden-91/#post-7006042)
 * Adam,
 * This might mean that your host has a reverse proxy, such as Varnish. If you have
   an option on your host’s control panel to disable Varnish or caching (outside
   of WordPress), that may help, and can prevent other issues as well. Although 
   it’s fast, sometimes Varnish caches things that shouldn’t be cached on a WordPress
   site, and in the process, it changes the IP that Wordfence sees when a visitor
   arrives.
 * If that’s not possible, you may need to change the option “How does Wordfence
   get IPs” to X-Forwarded-For or X-Real-IP, depending on your host’s setup. You
   can confirm that it works by checking the Live Traffic page, to make sure your
   own IP appears when you visit a page in another browser. (Make sure that you 
   are logged out in the other browser, since your own visits aren’t tracked when
   you’re logged in, by default.)
 * -Matt R
 *  Thread Starter [adamzeibak](https://wordpress.org/support/users/adamzeibak/)
 * (@adamzeibak)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/403-forbidden-91/#post-7006044)
 * Thank you, Matt.
 * I’ll try what you suggested and get back to you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘403 Forbidden’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

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

 * 4 replies
 * 3 participants
 * Last reply from: [adamzeibak](https://wordpress.org/support/users/adamzeibak/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/403-forbidden-91/#post-7006044)
 * Status: resolved