This documentation is only valid for older versions of Wordfence. If you are using Wordfence 7 or later, please visit our new documentation.

Difference between revisions of "Facebook links result in a Wordfence blocked message. How do I fix that?"

From Wordfence Documentation
Jump to: navigation, search
(Added reverse proxy info (probably the reason for "fake googlebot" blocks), other edits)
(Removed old stackoverflow link)
Line 1: Line 1:
 
If you share posts on Facebook you might run into a situation like this:
 
If you share posts on Facebook you might run into a situation like this:
  
''When I share links from my own site onto facebook, instead of the relevant information or picture being shared I get this message now on every post:''
+
''When I share links from my own site onto Facebook, instead of the relevant information or picture being shared I get this message now on every post:''
  
''Important note for site admins: If you are the administrator of this website note that your access has been limited because you broke one of the Wordfence firewall rules. The reason you access was limited is: "Access from your area has been temporarily limited for security reasons".''
+
''Important note for site admins: If you are the administrator of this website note that your access has been limited because you broke one of the Wordfence firewall rules. The reason your access was limited is: "Access from your area has been temporarily limited for security reasons".''
  
  
 
For this message and similar issues, check the following items:
 
For this message and similar issues, check the following items:
  
* If you have blocked the USA in Wordfence's country blocking, this could cause some issues with Facebook posts. Otherwise, this usually isn't related to country blocking.
+
* If you have blocked the USA in Wordfence's country blocking, this could cause some issues with Facebook posts. Make sure the USA is not blocked.
  
 
* In the [https://developers.facebook.com/tools/debug/og/object/ facebook debugger tool]  fill in the link to your blog post that had an issue and the click the button '''Fetch new scrape information''' to see what Facebook is currently seeing.
 
* In the [https://developers.facebook.com/tools/debug/og/object/ facebook debugger tool]  fill in the link to your blog post that had an issue and the click the button '''Fetch new scrape information''' to see what Facebook is currently seeing.
Line 14: Line 14:
 
* Try unchecking the option to block fake googlebots in Wordfence.  This has solved the issue on occasion, and we are looking into a more permanent solution for the problem.
 
* Try unchecking the option to block fake googlebots in Wordfence.  This has solved the issue on occasion, and we are looking into a more permanent solution for the problem.
  
* If your site may be using CloudFlare, Varnish, or another reverse proxy, check the option [[Wordfence options#How does Wordfence get IPs|How does Wordfence get IPs]] to make sure Wordfence is set up correctly for your site.  
+
* If your site may be using CloudFlare, Varnish, or another reverse proxy, check the option [[Wordfence options#How does Wordfence get IPs|How does Wordfence get IPs]] to make sure Wordfence is set up correctly for your site.
 
+
* This page [http://stackoverflow.com/questions/8859013/whats-the-ip-address-range-of-facebooks-open-graph-crawler  here] shows the IP addresses Facebook uses to scrape content and it may be useful to whitelist them. (This may not be a complete list, but may help in testing how Facebook is being blocked.)
+

Revision as of 18:28, 21 October 2015

If you share posts on Facebook you might run into a situation like this:

When I share links from my own site onto Facebook, instead of the relevant information or picture being shared I get this message now on every post:

Important note for site admins: If you are the administrator of this website note that your access has been limited because you broke one of the Wordfence firewall rules. The reason your access was limited is: "Access from your area has been temporarily limited for security reasons".


For this message and similar issues, check the following items:

  • If you have blocked the USA in Wordfence's country blocking, this could cause some issues with Facebook posts. Make sure the USA is not blocked.
  • In the facebook debugger tool fill in the link to your blog post that had an issue and the click the button Fetch new scrape information to see what Facebook is currently seeing.
  • Try unchecking the option to block fake googlebots in Wordfence. This has solved the issue on occasion, and we are looking into a more permanent solution for the problem.
  • If your site may be using CloudFlare, Varnish, or another reverse proxy, check the option How does Wordfence get IPs to make sure Wordfence is set up correctly for your site.