Google의 맞춤 검색과 함께 Google의 사이트 링크 검색 창을 사용하는 방법에 대해 완전히 황급합니다.Google 맞춤 검색을위한 Google의 사이트 링크 검색 창
아무도 내가 2의 연결을 시작하는 방법을 알고 있습니까?
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "https://www.example-petstore.com/",
"potentialAction": {
"@type": "SearchAction",
"target": "https://query.example-petstore.com/search?q={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
그리고 당신이 구글의 맞춤 검색 코드가 있습니다 : 사이트에 대한
검색 상자 구글이 다음과 같은 코드를 제공 링크
<script>
(function() {
var cx = '006674923042857018221:WMX2084923030';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//www.google.com/cse/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
어떻게 지구에 나는 2를 연결합니까을? 당신이 올바른 방향으로 나를 가리킬 수 있기를 바랍니다.