Google Site Kit for WordPress

 기본 정보

Site Kit Homepage: https://sitekit.withgoogle.com/1https://sitekit.withgoogle.com/

Git Repository: https://github.com/google/site-kit-wp2https://github.com/google/site-kit-wp

Setup Guide: https://github.com/google/site-kit-wp/wiki/Engineering#set-up-site-kit-project3https://github.com/google/site-kit-wp/wiki/Engineering#set-up-site-kit-project

 

 요구사항

composer4https://getcomposer.org/download/

npm/nodejs5https://github.com/nvm-sh/nvm

 

 설치

절차 자체는 기존 PHP/Node Project 설치와 다를 바 없다. 평범하다.


git clone https://github.com/google/site-kit-wp
cd site-kit-wp
composer install
npm install
npm run build

WP에서 설치된 폴더 자체를 플러그인 패키지로 인식한다.

 

 문제점

1.0-beta3 에서 개발환경에 설치한 WP 사이트 등록절차 도중 사이트 검증에 실패한다.  Github Issues 참조6https://github.com/google/site-kit-wp/issues


Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/wp-json/google-site-kit/v1/modules/search-console/data/siteverification?_locale=user

 

 

References   [ + ]

1. https://sitekit.withgoogle.com/
2. https://github.com/google/site-kit-wp
3. https://github.com/google/site-kit-wp/wiki/Engineering#set-up-site-kit-project
4. https://getcomposer.org/download/
5. https://github.com/nvm-sh/nvm
6. https://github.com/google/site-kit-wp/issues