General Structured Data Guidelines | Google Search Central

文章推薦指數: 80 %
投票人數:10人

Items that are missing required properties are not eligible for rich results. The more recommended properties that you provide, the higher quality the result is ... Google SearchCentral Documentation Notmuchtime? Quickstart GetyourwebsiteonGoogle Optimizeyoursiteforsearchengines MeasuringyourperformanceonGoogle DoyouneedanSEO? BeginnerSEO Getstarted SEOstarterguide EstablishyourbusinessdetailswithGoogle Beginner'sguidetoSearchConsole AdvancedSEO Getstarted Guidelines HowSearchWorks Controlcrawlingandindexing ChangeyourSearchappearance Optimizepageexperience Support Blog What'snew Allupdates Documentationupdates NewYouTubevideos Recentpodcastepisodes Events Casestudies Language English BahasaIndonesia Deutsch Español Español–AméricaLatina Français Italiano Polski Português–Brasil TiếngViệt Türkçe Русский العربيّة हिंदी ภาษาไทย 中文–简体 中文–繁體 日本語 한국어 Signin Documentation GotoSearchConsole Introduction Justthebasics BeginnerSEO AdvancedSEO Google SearchCentral Documentation More Introduction Justthebasics BeginnerSEO AdvancedSEO Support Blog What'snew More Events Casestudies Getstarted HowGoogleSearchworks Developer'sguidetoSearch AdvancedguidetoSearchConsole Guidelines OverviewofguidelinesWebmasterguidelines Generalguidelines KeepasimpleURLstructureQualifyyouroutboundlinkstoGoogleInterstitialsanddialogsTagsiteforchild-directedtreatmentBrowsercompatibilityAvoidcreatingduplicatecontentUsevalidpagemetadataMakeyourlinkscrawlableMakesureGooglebotisnotblockedBestpracticesforwebsitetestingwithGoogleSearch Content-specificguidelines Imagesandvideo GoogleImagesbestpracticesVideobestpracticesRichmediafilebestpracticesSafeSearchandyourwebsiteBestpracticesforbloggersWebhostingservicesKeepredactedinformationoutofSearchAMPonGoogleSearchguidelines BestpracticesforecommerceinSearch OverviewWherecontentcanappearShareproductdataIncludestructureddataLaunchanewwebsiteWritehighqualityproductreviewsDesignaURLstructureEcommercesitestructurePagination,incrementalpageloading,andSearch COVID-19resourcesandtips ForallsitesForeducationsitesForhealthandgovernmentsites Qualityguidelines AutomaticallygeneratedcontentSneakyredirectsLinkschemesThincontentPaidlinksCloakingHiddentextandlinksDoorwaypagesScrapedcontentAffiliateprogramsIrrelevantkeywordsCreatingpageswithmaliciousbehaviorAutomatedqueriesUser-generatedspamWaystopreventcommentspamReportspam,paidlinks,ormalware Controlcrawlingandindexing Overview Sitemaps LearnaboutsitemapsBuildandsubmitasitemapSplitupyourlargesitemaps Sitemapextensions VideositemapsandalternativesImagesitemapsGoogleNewssitemaps robots.txt Introductiontorobots.txtCreateandsubmitarobots.txtfileUpdateyourrobots.txtfileHowGoogleinterpretstherobots.txtspecificationRobotsFAQs Metatags MetatagsthatGoogleunderstandsBlocksearchindexingwithnoindexRobotsmetatag,data-nosnippet,andX-Robots-Tagspecifications Crawlermanagement AskGoogletorecrawlyourURLsReducetheGooglebotcrawlrateVerifyingGooglebotandotherGooglecrawlersLargesiteowner'sguidetomanagingyourcrawlbudgetHowHTTPstatuscodes,andnetworkandDNSerrorsaffectGoogleSearch Googlecrawlers OverviewGooglebotGoogleReadAlouduseragentAPIs-GoogleuseragentFeedfetcherDuplexonthewebuseragent Removals ControlwhatyousharewithGoogleRemoveapagehostedonyoursitefromGoogleRemoveimageshostedonyoursitefromsearchresultsDuplicateURLs Sitemovesandchanges RedirectsandGoogleSearch Sitemoves Whatisasitemove?MoveasitewithoutURLchangesMoveasitewithURLchangesTemporarilypauseordisableawebsiteSoft404errors Internationalandmultilingualsites OverviewManagingmulti-regionalandmultilingualsitesTellGoogleaboutlocalizedversionsofyourpageHowGooglecrawlslocale-adaptivepages JavaScriptcontent UnderstandtheJavaScriptSEObasicsFixsearch-relatedJavaScriptproblemsFixlazy-loadedcontentImplementdynamicrendering ChangeyourSearchappearance OverviewofSearchappearancetopicsControlyourtitlelinksControlyoursnippetsEnableSearchresultfeaturesforyoursiteFeaturedsnippetsandyourwebsiteSitelinksProvideapublicationdatetoGoogleSearchDefineafavicontoshowinsearchresultsTranslatedresultsEnablingyouradnetworktoworkwithtranslation-relatedGoogleSearchfeatures Usingstructureddata UnderstandhowstructureddataworksTrythestructureddatacodelabExplorethesearchgalleryStructureddatageneralguidelinesGeneratestructureddatawithJavaScript Featureguides ArticleBookBreadcrumbCarouselCourseCOVID-19announcementsDatasetEducationQ&AEmployerAggregateRatingEstimatedsalaryEventFactCheckFAQHomeActivitiesHow-toImageLicenseJobPostingLearningVideoLocalBusinessLogoMathsolversMoviePracticeproblemsProductQ&ARecipeReviewsnippetSitelinkssearchboxSoftwareAppSpeakableSubscriptionandpaywalledcontentVideoEnrichedsearchresultsFlexibleSamplinggeneralguidanceEnableTopPlacesListOptoutofdisplayinlocalsearchresultsandotherGooglepropertiesUseImageRightsMetadatainGoogleImages Debugwithsearchoperators Overviewsite:searchoperatorcache:searchoperatorGoogleImagessearchoperators WebStories EnableWebStoriesonGoogleBestpracticesforcreatingWebStoriesWebStorycontentpolicy EarlyAdoptersProgram PackagetrackingMobilerecharge Optimizeyourpageexperience UnderstandingpageexperienceGetstartedwithsignedexchangesonGoogleSearch Mobile Overviewofmobiletopics Mobile-friendliness GetstartedMobile-firstindexingbestpractices Chooseaconfiguration OverviewResponsiveWebDesignDynamicServingSeparateURLsTabletsandfeaturephonesAvoidcommonmistakeswhendesigningformobileCustomizeyourwebsitesoftwaretobemobile-friendlyResourcesfordevelopingmobile-friendlypagesMobileFAQsAnnouncemobilebillingchargesclearlyMobileviewingonfeaturephonesWebLight:FasterandlighterpagesfromSearchAdnetworksupportforWebLightpagesinGoogleSearchGoogleDiscoverandyourwebsite Security OverviewofsecuritytopicsSecureyoursitewithHTTPSWhatishackingorhackedcontent?MalwareandunwantedsoftwarePreventingmalwareinfectionSocialengineering(phishinganddeceptivesites)GoogleSafeBrowsingRepeatOffendersPolicy AMP UnderstandhowAMPlooksinsearchresultsEnhanceAMPcontentValidateAMPcontentRemoveAMPcontent SearchAPIs SiteVerificationAPISearchConsoleAPIIndexingAPI Notmuchtime? Quickstart GetyourwebsiteonGoogle Optimizeyoursiteforsearchengines MeasuringyourperformanceonGoogle DoyouneedanSEO? BeginnerSEO Getstarted SEOstarterguide EstablishyourbusinessdetailswithGoogle Beginner'sguidetoSearchConsole AdvancedSEO Getstarted Guidelines HowSearchWorks Controlcrawlingandindexing ChangeyourSearchappearance Optimizepageexperience Allupdates Documentationupdates NewYouTubevideos Recentpodcastepisodes Home SearchCentral Documentation AdvancedSEO Sendfeedback Generalstructureddataguidelines Thesearethegeneralguidelinesthatapplytoallstructureddata.Theseguidelines mustbefollowedtoenablestructured datatobeeligibleforinclusioninGoogleSearchresults.Pagesorsitesthat violatethesecontentguidelinesmayreceivelessfavorablerankingorbemarked asineligibleforrichresultsinGoogleSearchinordertomaintainahigh-quality searchexperienceforourusers.Ifwefindthatyourpagecontainsspammystructureddataor content,wewillapplyamanualactiontoyourpage.Tocheckifyouhaveamanualaction,openthe Manual ActionsreportinSearchConsole. Important:Googledoesnotguaranteethatyourstructureddatawillshowupinsearchresults,even ifyourpageismarkedupcorrectlyaccordingtotheRichResultsTest. Herearesomecommonreasonswhy: Usingstructureddataenablesafeaturetobepresent,itdoesnot guaranteethatitwillbepresent.TheGooglealgorithmtailors searchresultstocreatewhatitthinksisthebestsearchexperiencefor auser,dependingonmanyvariables,includingsearchhistory,location, anddevicetype.Insomecasesitmaydeterminethatonefeatureismore appropriatethananother,oreventhataplainbluelinkisbest. Thestructureddataisnotrepresentativeofthemaincontentofthepage, orispotentiallymisleading. ThestructureddataisincorrectinawaythattheRichResultsTestwasnotable tocatch. Thecontentreferredtobythestructureddataishiddenfromtheuser. Thepagedoesnotmeettheguidelinesforstructureddatadescribedhere,the type-specificguidelines,orthegeneralwebmasterguidelines. Technicalguidelines Youcantestcompliancewithtechnicalguidelinesusingthe RichResultsTestandthe URLInspectiontool,whichcatchmosttechnicalerrors. Format Inordertobeeligibleforrichresults,markupyoursite'spages usingoneofthreesupportedformats: JSON-LD(recommended) Microdata RDFa Access DonotblockyourstructureddatapagestoGooglebotusingrobots.txt,thenoindextag, oranyotheraccesscontrolmethods. Qualityguidelines Theseguidelinesarenoteasilytestableusinganautomatedtool. Violatingaqualityguidelinecanpreventsyntacticallycorrectstructureddatafrombeing displayedasarichresultinGoogleSearch,orpossiblycauseit tobemarkedasspam. Content FollowtheGoogle webmastersqualityguidelines. Provideup-to-dateinformation.Wewon'tshowarichresultfortime-sensitive contentthatisnolongerrelevant. Provideoriginalcontentthatyouoryourusershavegenerated. Don'tmarkupcontentthatisnotvisibletoreadersofthepage.Forexample,iftheJSON-LD markupdescribesaperformer,theHTMLbodymustdescribethatsameperformer. Don'tmarkupirrelevantormisleadingcontent,suchasfakereviewsorcontent unrelatedtothefocusofapage. Don'tusestructureddatatodeceiveormisleadusers.Don'timpersonateanypersonor organization,ormisrepresentyourownership,affiliation,orprimarypurpose. Contentmustnotpromotepedophilia,bestiality,sexualviolence,violent orcruelacts,targetedhatred,ordangerousactivities. Don'tmarkupcontentthatengagesinillegalactivitiesorpromotesgoods,services, orinformationthatfacilitatesseriousandimmediateharmtoothers.Markingupcontentthat providesinformationaboutsuchcontentforeducationalpurposesispermitted. Contentinstructureddatamustalsofollowtheadditionalcontentguidelinesorpolicies,as documentedinthespecificfeatureguide.Forexample,contentinJobPosting structureddatamustfollowthejob postingcontentpolicies.ContentinPracticeproblemsstructureddatamustfollowthe Practice problemscontentguidelines. Relevance Yourstructureddatamustbeatruerepresentationofthepagecontent.Here aresomeexamplesofirrelevantdata: Asportslivestreamingsitelabelingbroadcastsaslocalevents. Awoodworkingsitelabelinginstructionsasrecipes. Completeness Specifyallrequiredpropertieslistedinthedocumentationforyourspecificrichresulttype.Itemsthataremissingrequiredpropertiesarenoteligibleforrichresults. Themorerecommendedpropertiesthatyouprovide,thehigherqualitytheresultisto users.Forexample:userspreferjobpostingswithexplicitlystated salariesthanthosewithout;userspreferrecipeswithactualuserreviewsandgenuine starratings(notethatreviewsorratingsnotbyactualusersareconsidered spammy).Richresult rankingtakesextrainformationintoconsideration. Location Putthestructureddataonthepagethatitdescribes,unlessspecifiedotherwise bythedocumentation. Ifyouhaveduplicatepagesforthesamecontent,werecommendplacingthesamestructured dataonallpageduplicates,notjustonthecanonicalpage. Specificity Trytousethemostspecificapplicabletypeandpropertynamesdefinedbyschema.org foryourmarkup. Followalladditionalguidelinesgiveninthe documentationforyourspecificrichresulttype. Images Whenspecifyinganimageasastructureddataproperty,makesurethattheimageisrelevant tothepagethatit'son.Forexample,ifyoudefinetheimagepropertyofNewsArticle, theimagemustberelevanttothatnewsarticle. AllimageURLsmustbecrawlableandindexable.Otherwise,GoogleSearchcan'tfindand displaythemonthesearchresultspage.TocheckifGooglecanaccessyourURLs,use theURL Inspectiontool. Multipleitemsonapage Multipleitemsonapagemeansthatthereismorethanonekindofthingonapage.For example,apagecouldcontainarecipe,avideothatshowshowtomakethatrecipe, andbreadcrumbinformationforhowpeoplecandiscoverthatrecipe.Allofthisuser-visible informationcanalsobemarkedupwithstructureddata,whichmakesiteasierforsearchengines likeGoogleSearchtounderstandtheinformationonapage.Whenyouaddmoreitemsthat applytoapage,GoogleSearchhasafullerpictureofwhatthepageisaboutandcandisplay thatpageindifferentsearchfeatures. GoogleSearchunderstandsmultipleitemsonapage,whetheryounesttheitems orspecifyeachitemindividually: Nesting:Whenthereisonemainitem,andadditionalitemsaregrouped underthemainitem.Thisisparticularlyhelpfulwhengroupingrelateditems(forexample, arecipewithavideoandreviews). Individualitems:Wheneachitemisaseparateblockonthesamepage. Note:Ifthereareitemsthataremorehelpfulwhen theyarelinkedtogether(forexample,arecipeandavideo),use@idinboth therecipeandthevideoitemstospecifythatthevideoisabouttherecipeonthe page.Ifyoudidn'tlinktheitemstogether,GoogleSearchmaynotknowthatitcanshowthe videoasaReciperichresult. Note:Theseexamplesaretrimmedforbrevity,andtheydon't includealltherequiredandrecommendedpropertiesforthefeatures.Forafullexample,refertothe specificstructureddatatypedocumentation. Nesting Here'sanexampleofnestedstructureddata,whereRecipeisthemainitem,andaggregateRatingandvideoarenestedintheRecipe.

HowToMakeBananaBread { "@context":"https://schema.org/", "@type":"Recipe", "name":"BananaBreadRecipe", "description":"Thebestbananabreadrecipeyou'lleverfind!Learnhowtouseupallthoseextrabananas.", "aggregateRating":{ "@type":"AggregateRating", "ratingValue":"4.7", "ratingCount":"123" }, "video":{ "@type":"VideoObject", "name":"HowToMakeBananaBread", "description":"Thisishowyoumakebananabread,in5easysteps.", "contentUrl":"http://www.example.com/video123.mp4" } } Individualitems Here'sanexampleofindividualitemsofstructureddata.Therearetwo,distinctitems:RecipeandBreadcrumbList. HowToMakeBananaBread [{ "@context":"https://schema.org/", "@type":"Recipe", "name":"BananaBreadRecipe", "description":"Thebestbananabreadrecipeyou'lleverfind!Learnhowtouseupallthoseextrabananas." }, { "@context":"https://schema.org", "@type":"BreadcrumbList", "itemListElement":[{ "@type":"ListItem", "position":1, "name":"Recipes", "item":"https://example.com/recipes" },{ "@type":"ListItem", "position":2, "name":"Breadrecipes", "item":"https://example.com/recipes/bread-recipes" },{ "@type":"ListItem", "position":3, "name":"HowToMakeBananaBread" }] }] Additionaltips TomakesurethatGoogleSearchunderstandswhatthemainpurposeofthepageis,include themaintypeofstructureddatathatreflectsthemainfocusofthepage.Forexample,ifa pageismainlyaboutarecipe,makesuretoinclude Recipestructured datainadditiontoVideoand Reviewstructureddata.Thisisanopportunityforthat pagetobeeligibleformultiplesearchappearances(reciperichresults,videosearch,and reviewsnippets).IfthepageonlycontainedVideostructureddata,GoogleSearchwouldn'tknow enoughaboutthepagetoalsodisplayitasareciperichresult. Toensurethatthepagefullyrepresentsthecontentthat'svisibletousers,makesureall structureddataitemsarecomplete.Forexample,ifyouincludemultiplereviews,makesure thatyouincludeallofthereviewsthatarevisibletopeopleonthepage.Ifapagedidn't markupallofthereviewsonapage,thiswouldbemisleadingforpeoplewhoexpecttosee allofthosereviews,basedontheappearanceofthepageinSearchresults. Sendfeedback Exceptasotherwisenoted,thecontentofthispageislicensedundertheCreativeCommonsAttribution4.0License,andcodesamplesarelicensedundertheApache2.0License.Fordetails,seetheGoogleDevelopersSitePolicies.JavaisaregisteredtrademarkofOracleand/oritsaffiliates. Lastupdated2022-04-21UTC. [{ "type":"thumb-down", "id":"missingTheInformationINeed", "label":"MissingtheinformationIneed" },{ "type":"thumb-down", "id":"tooComplicatedTooManySteps", "label":"Toocomplicated/toomanysteps" },{ "type":"thumb-down", "id":"outOfDate", "label":"Outofdate" },{ "type":"thumb-down", "id":"samplesCodeIssue", "label":"Samples/codeissue" },{ "type":"thumb-down", "id":"otherDown", "label":"Other" }] [{ "type":"thumb-up", "id":"easyToUnderstand", "label":"Easytounderstand" },{ "type":"thumb-up", "id":"solvedMyProblem", "label":"Solvedmyproblem" },{ "type":"thumb-up", "id":"otherUp", "label":"Other" }] Needtotellusmore? Podcast ListentoourSearchOfftheRecordpodcast Twitter Follow@googlesearchconTwitter Askquestions Postinourhelpcommunity JoinSEOofficehours Helpdocumentation Getupdates Blog Twitter YouTube Resources DoyouneedanSEO? SEOStarterGuide SearchConsoledocumentation CaseStudies Tools SearchConsole Mobile-FriendlyTest RichResultsTest PageSpeedInsights AMPTest Android Chrome Firebase GoogleCloudPlatform Allproducts Terms Privacy SignupfortheGoogleDevelopersnewsletter Subscribe Language English BahasaIndonesia Deutsch Español Español–AméricaLatina Français Italiano Polski Português–Brasil TiếngViệt Türkçe Русский العربيّة हिंदी ภาษาไทย 中文–简体 中文–繁體 日本語 한국어


請為這篇文章評分?