An XML (Extensible Markup Language) Sitemap is a text file used to detail all URLs on a website. It can include extra information (metadata) on each URL, ...
WooRank
SEOGuides
XMLSitemaps
WhatisanXMLSitemap?
AnXML(ExtensibleMarkupLanguage)SitemapisatextfileusedtodetailallURLsonawebsite.Itcanincludeextrainformation(metadata)oneachURL,withdetailsofwhentheywerelastupdated,howimportanttheyareandwhetherthereareanyotherversionsoftheURLcreatedinotherlanguages.Allofthisisdonetohelpthesearchenginescrawlyourwebsitemoreefficiently,allowinganychangestobefedtothemdirectly,includingwhenanewpageisaddedoranoldoneremoved.
ThereisnoguaranteethatanXMLSitemapwillgetyourpagescrawledandindexedbysearchengines,buthavingonecertainlyincreasesyourchances,particularlyifyournavigationorgeneralinternallinkingstrategydoesn’tlinktoallofyourpages.
SitemapExample:
https://www.example.com
2017-10-06
weekly
0.9
GlossaryofTagsUsedinaSitemap
-TheSitemapopensandcloseswiththistag.Itisthecurrentprotocolstandard.
-ThisistheparenttagforeachURLentry.
-ThistagcontainstheabsoluteURL,orthelocatorofthepage.
-Thiscontainsinformationaboutthefile’slastmodifieddate.ItshouldbeinYYYY-MM-DDformat.
-Thiscontainsinformationaboutthefrequencywithwhichafileischanged.
-Thisindicatesthefile’simportancewithinthesite.Thevaluerangesfrom0.0to1.0.
AGlossaryofTagsUsedinanImageSitemap
-ThistagencloseseachimageURL.Youcanlistupto1000suchtags.
-ThiscontainstheURLoftheimage.
-Thistagcontainsacaptionfortheimage.Itisoptional.
-Youcanspecifyageographiclocationoftheimageinthistag.Itisoptional.
-Thiscontainsatitlefortheimage.Itisoptional.
-ThistagcontainstheURLpointingtothelicenseoftheimage.Itisoptional.
Itmaynotbepossibletogetyourentiresiteindexed,evenwiththeperfectSitemap.Itispossible,however,todiscovertheindexationissuesofyoursitebyhavingaflawlessSitemap.Todothis,analyzeanySitemaperrorsinGoogleSearchConsoleandBingWebmasterTools,checkwhichpagesareindexedversustheURLsyouhavesubmittedandifthereisavastdifferenceinthisratioorasuddenincreaseordecreaseinthesenumbers,besuretocheckyourSitemaps.Theymayrevealotherproblemsonyoursite,suchasproblemswithyourrobots.txtfile,duplicatecontentandsoon.Therearemanytoolsthatcanbeusedtoimportandcrawlallofthepagesreferencedinyoursitemaps(suchasScreamingFrog),allowingyoutoeasilyspotanyissuesorunnecessaryredirects.
VideoSitemaps
There’salotyoucantellsearchenginesaboutyourpage’svideoresourcesinsitemaps:
-TheURLpointingtotheplayerforthevideo.Ifyourvideoisembeddedonyourpage,likefromYouTubeorVimeo,youcanusethistaginsteadof.YoucannormallyfindthisURLinthevideo’sembedcode.
-Thevideo’slengthinminutes,between0and28800(8hours).Thisisn’ttechnicallyrequired,butGooglerecommendsit.
-Onlyincludethisinformationifyourvideowillnotbeavailableafteracertaindate.Ifyoudouseit,putdatesinYYYY-MM-DDformat,andtimesinThh:mm:ss:TZDformat.
-Thevideo’srating.Onlyvaluesbetween0.0and5.0arevalid.
-Thenumberoftimesthevideohasbeenwatched.
-Thedatethevideowasfirstpublished,notthedateyouputitonyoursite.
-IfNo,yourvideowillonlyappearinsearchresultswhentheuserdisablesSafeSearch.Otherwise,makethisYes.
-Averyshortdescriptionofkeyconceptsrelatedtoyourvideo.Createaseparateelementforeachtagyouuse,upto32tags.
-Alistofcountrieswherethevideocannotplay,oralistoftheonlycountriesinwhichuserscanaccessthevideo,dependentonwhetheryousetrelationshipasallowordeny.Thelistisspace-delimitedandusestheISO3166countrycodes.Ifyoudon’tusethistag,itwillbeassumedthatyourvideoisavailableglobally.
-TheURLwhereyoucanfindthecollectioninwhichyourvideoappears,ifthereisone.Eachvideocanhaveonlyonegallery_loctag.Ifyourgalleryhasatitleyoucanaddthetitleattribute.
-Thepricetodownloadthevideo.Thecurrency=attributeisrequiredandusestheISO4217currencycode.Addtheoptionaltype=attributetospecifyifthedownloadistoownorrent,andresolution=tospecifyifthevideoisinHDorSD.Youcanusethismultipletimesforeachcurrencyyouaccept.
-Allowedvaluesareyesandnotoindicatewhetherornotasubscriptionisrequiredtowatchthevideo.
-Ifyourvideoisembeddedfromanothervideosite,putthenameofthehosthere.ThisURLmustbethesamedomainasthetag.
-Theplatforms,web,mobile,andtv,wherethevideocanorcannotbeaccessed.Therelationship=attributedefineswhetherthelistisinclusiveorexclusive.Youcanhaveonlyoneplatformtagpervideo.
-Whetherornotthevideoisalivestream.Onlyyesornoarevalid.
XMLSitemapSizeLimits
XMLsitemapsarelimitedbysize,bothinnumberofURLsyoucanincludeandinfilesize.Sitemapscanonlyhave50,000entries,withupto1,000imagesandamaxsizeof10MB.Ifyou’vegotareallybigsitethathaslotsofpages,imagesand/orvideos,you’llneedtocreatemultiplesitemaps.Ifyouencounterthis,you’llneedtocreateasitemapofsitemaps,knownasaSitemapIndexFile.
SitemapsinGoogleSearchConsole
TheSitemapssectionallowsyoutomonitorallofyourSitemapsfromoneplace,providingasummaryoftheSitemapsthathavebeensubmittedviatheGoogleSearchConsoleaccount.Thisincludesasnapshotofdata,includingtheSitemaptype,thedatestheyweremostrecentlyprocessed,anyissuesthathavebeenidentifiedandthenumberofpagessubmitted/indexedperSitemapandoverall.
It’salsopossibletotestorresubmitSitemapsbyclickingontheSitemapthatyouwishtosubmit,thenselectingthe‘ResubmitSitemap’or‘TestSitemap’button.
Conclusion
Whendoneright,XMLsitemapsarehelpsearchenginesquicklyfind,crawlandindexwebsites.Makesureyou’veproperlyformatted,compressedandsubmittedyourXMLsitemaptosearchenginestogetthemostoftheiradvantages:
Younolongerneedtorelyonlinkingtogetyourpagescrawled.
Searchengineswillseeneworupdatedsitesandpagesmorequickly.
Botscancrawlpagesmoreintelligentlythankstothemetainformationavailableinsitemaps.
Youcanmakesurethatsearchenginesarefindingimportantinformationaboutimagesandvideos,whichareinaccessibletocrawlers.
HaveyoucreatedandsubmittedanXMLsitemapforyourwebsite?Whatbenefitshaveyounoticed?Didyouencounteranychallenges?
Recentguides
Oops,somethingwentwrong!
Anunexpectederrorhasoccurred.Youractionhasnotbeencompleted.PleasetryagainorcontactWooRankSupport.