• Hi
    I use SEO Powersuite website auditor to help me optimise my website.

    I have noticed that if IP Geo Block is activated the scan finds more pages because it includes all the admin pages. The admin pages are blocked so it reports more than 30 serious errors “403”

    If I deactivate IP Geo then the scan runs without including admin pages and reports no errors.

    I don’t think google scans report these errors as I check google search console regularly and haven’t seen any problems.

    Is there a setting I can change to stop this from happening?

    Thank you
    Best regards
    John

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi John,

    Do you mean https://www.link-assistant.com/website-auditor/ ?

    I guess it would scan your web site from their server, right?

    If so, you can put their server’s IP address into “Whitelist of extra IP addresses prior to country code” in “Validation rule settings” section, and disable “Prevent Zero-day Exploit” in “Admin ajax/post” section.

    I don’t think google scans report these errors as I check google search console regularly and haven’t seen any problems.

    That’s right because google never login to your site.

    Please consider to exclude admin pages to be scanned, because it’s almost similar to attack from outside your site by some tools. I have no experience with SEO Powersuite auditor, so I have no idea you can do it or not.

    But I don’t understand why you allow their server to access your logged in area. Those area doesn’t need SEO but only need page speed optimization. And I think admin page optimization is difficult task because of many CSS and JavaScript.

    I appreciate your understanding.
    Thanks.

    Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi John,

    Additional info.

    Please try followings:

    1. Find “drop-in-sample.php” in the folder “ip-geo-block/wp-content/ip-geo-api/” of this plugin’s package.
    2. Add the following code snippet at the bottom of the file in order to allow some IP addresses to access your site using the appropriate text editor.
      function my_whitelist( $validate ) {
          $whitelist = array(
              '123.234.246.', /* replace this line to the appropriate IP address */
          );
      
          foreach ( $blacklist as $ip ) {
              if ( strpos( $ip, $validate['ip'] ) === 0 ) {
                  $validate['result'] = 'passed'; /* force to pass */
                  break;
              }
          }
      
          return $validate;
      }
      add_filter( 'ip-geo-block-admin', 'my_whitelist' );
    3. Upload the above file into the Geolocation API library folder in your server using FTP. The folder may be “/wp-content/ip-geo-api/” or “/wp-content/uploads/ip-geo-api/”.

    The above code snippet is different from “Whitelist of extra IP addresses prior to country code“. It has the highest priority which means you can enable “Prevent Zero-day Exploit”.

    Please refer to the document of custom filter “ip-geo-block-xxxxx“.

    Have a happy new year!

    • This reply was modified 7 years, 2 months ago by tokkonopapa.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SEO Scan shows errors with IP Geo Block Active’ is closed to new replies.