Giter Site home page Giter Site logo

googlesearchconsoleerrorcleanup's Introduction

Google Search Console (Webmaster Tools) Automatic Error Clean Up

PHP Cli library to clean up automatically all solved errors in Google Search Console Crawl Errors. It makes use of Official Google PHP API Client

Configuration

Install Composer dependencies

composer install

Create a Google Service Account following instructions provided by Google

Replace /path/to/service-account.json with the path to the downloaded file

Authorize the Google Service Account to access your WMT info (add the email as a user with full access to your Search Console)

Usage

php -f cli.php http://www.example.com/ errorType device * Note the / at the end of the domain

Error type options

  • authPermissions
  • flashContent
  • manyToOneRedirect
  • notFollowed
  • notFound
  • other
  • roboted
  • serverError
  • soft404 (use with caution as it only check 200 HTTP status to mark the problem as solved)

Device Options

  • mobile
  • smartphoneOnly
  • web

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.