1import{_ as ne}from"./BdZulSMk.js";import{_ as ie}from"./EPwHz_vQ.js";import{u as de,a as pe,aB as me,e as ce,k as ue,I as xe,aO as be,aw as ge,as as fe,m as ye,_ as ve}from"./Dyq1Iiea.js";import{e as we}from"./CtIGwQ3f.js";import{_ as he}from"./D8ZJuJ24.js";import{_ as _e}from"./CkeGvUVj.js";import{_ as Se}from"./xhKZM4qY.js";import{_ as Ue}from"./CuNJGIrP.js";import{a as p,b as c,e as t,p as ke,u as s,i as a,f as n,B as y,C as R,x as k,t as u,D as Ce,F as I,k as q,y as Le,W as P,l as h,Y as Be,v as A,j as Re,q as C,O as M,r as _}from"./CH0gXh7j.js";import"./CGzHg1eZ.js";import"./LooO8MDG.js";import"./DMlAcsp5.js";import"./Bv0Oqkbg.js";import"./Cc9Aa07c.js";import"./Cc7eQOCM.js";import"./BZvQLyRd.js";import"./CK0Qg-j6.js";const Ie={class:"w-full flex flex-col items-center pb-28"},qe={class:"relative w-full px-3 sm:px-5 md:px-14 lg:px-16 xl:px-20 pt-8 sm:pt-10 md:pt-20 pb-20"},Pe={class:"relative z-10 w-full max-w-[75rem] mx-auto flex flex-col items-start"},Ae={class:"w-full flex flex-col lg:flex-row items-center lg:items-start gap-10 lg:gap-14"},Me={class:"w-full lg:w-1/2 max-w-[45rem] flex flex-col items-center lg:items-start"},Fe={class:"mb-4 text-textSecondary text-center lg:text-left uppercase text-sm flex items-center gap-2 font-medium"},We={class:"w-full max-w-[30rem] space-y-5"},Ge={class:"w-full flex flex-col gap-2"},je={key:0,class:"text-xs text-red-600"},ze={key:1,class:"text-xs text-textLight"},De={class:"w-full flex flex-col gap-2"},Te={class:"flex items-center justify-between"},$e={class:"text-xs text-textSecondary"},Oe={key:0,class:"w-full flex flex-col gap-2"},Xe={class:"max-h-48 overflow-y-auto space-y-2 p-3 bg-bgSecondary border border-border rounded-lg"},Ve={class:"text-xs text-textSecondary truncate flex-1"},Ne=["onClick"],Ee={class:"w-full p-4 bg-bgSecondary border border-border rounded-lg space-y-4"},He={class:"flex flex-col gap-1"},Qe={class:"flex flex-col gap-1"},Ye={class:"flex items-center gap-2 cursor-pointer"},Je={class:"w-full flex flex-col gap-2"},Ke={class:"flex flex-wrap gap-2"},Ze=["onClick"],et=["disabled"],tt={class:"w-full lg:w-1/2 max-w-[32rem] relative flex items-center justify-center"},st={key:0,class:"w-full relative flex flex-col p-6 bg-bgBase border border-border shadow-lg rounded-lg"},ot={class:"flex items-center justify-between mb-4"},rt={class:"flex items-center gap-2"},lt={class:"relative"},at={class:"p-4 bg-gray-900 text-gray-100 rounded-lg overflow-x-auto text-xs font-mono whitespace-pre max-h-[24rem] overflow-y-auto"},nt={class:"mt-4 grid grid-cols-2 gap-3"},it={class:"p-3 bg-bgSecondary rounded-lg text-center"},dt={class:"text-2xl font-bold text-textPrimary"},pt={class:"p-3 bg-bgSecondary rounded-lg text-center"},mt={class:"text-2xl font-bold text-textPrimary"},ct={key:1,class:"w-full relative flex items-center justify-center"},ut={class:"w-full min-h-[24rem] relative overflow-hidden rounded-lg border border-border bg-gradient-to-br from-bgBase via-bgSecondary to-bgBase shadow-md"},xt={class:"relative flex flex-col items-center justify-center text-center p-8 h-full"},bt={class:"w-16 h-16 rounded-full bg-secondary flex items-center justify-center mb-6"},gt={class:"w-full px-3 sm:px-5 md:px-14 lg:px-20 pt-12 sm:pt-16 md:pt-20 pb-24 bg-bgSecondary"},ft={class:"w-full max-w-[65rem] mx-auto"},yt={class:"w-full grid grid-cols-1 md:grid-cols-3 gap-8"},vt={class:"w-full flex flex-col items-center text-center"},wt={class:"w-16 h-16 mb-4 rounded-2xl flex items-center justify-center border-[3px] border-primary bg-gradient-to-br from-primary-300 via-primary-400 to-primary-500"},ht={class:"w-full flex flex-col items-center text-center"},_t={class:"w-16 h-16 mb-4 rounded-2xl flex items-center justify-center border-[3px] border-primary bg-gradient-to-br from-primary-300 via-primary-400 to-primary-500"},St={class:"w-full flex flex-col items-center text-center"},Ut={class:"w-16 h-16 mb-4 rounded-2xl flex items-center justify-center border-[3px] border-primary bg-gradient-to-br from-primary-300 via-primary-400 to-primary-500"},kt={class:"w-full px-3 sm:px-5 md:px-14 lg:px-20 pt-12 sm:pt-16 md:pt-20 pb-24 bg-bgBase"},Ct={class:"w-full max-w-[65rem] mx-auto"},Lt={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Bt={class:"p-6 bg-bgBase border border-border rounded-lg"},Rt={class:"p-6 bg-bgBase border border-border rounded-lg"},It={class:"p-6 bg-bgBase border border-border rounded-lg"},qt={class:"p-6 bg-bgBase border border-border rounded-lg"},Pt={class:"w-full lg-px-14 xl:px-20 bg-bgBase"},At={class:"w-full max-w-[85rem] flex flex-col md:flex-row gap-7 items-center md:items-start justify-between p-5 py-7 sm:p-8 lg:p-10 bg-secondary lg:rounded-xl overflow-hidden shadow-xl"},Mt={class:"w-full flex flex-col items-start"},Ft={class:"w-full flex items-center justify-start gap-3"},Wt={class:"relative w-full max-w-[40rem] p-4 bg-secondary-400/80 overflow-hidden rounded-lg"},Gt={class:"absolute right-3 -bottom-16"},jt={class:"w-full px-3 sm:px-5 md:px-14 lg:px-20 pt-14 sm:pt-20 md:pt-24 bg-bgBase"},rs={__name:"sitemap-generator",setup(zt){const r=M({baseUrl:"",defaultChangefreq:"weekly",defaultPriority:"",includeLastmod:!0}),x=M({baseUrl:null}),b=_(""),i=_([]),m=_(""),v=_(!1),F=[{path:"/",label:"Home"},{path:"/about",label:"About"},{path:"/contact",label:"Contact"},{path:"/blog",label:"Blog"},{path:"/pricing",label:"Pricing"},{path:"/features",label:"Features"},{path:"/faq",label:"FAQ"},{path:"/privacy",label:"Privacy"},{path:"/terms",label:"Terms"}],L=C(()=>r.baseUrl&&r.baseUrl.trim()&&i.value.length>0),W=C(()=>
1{if(!m.value)return"0 KB";const o=new Blob([m.value]).size;return o<1024?`${o} B`:`${(o/1024).toFixed(1)} KB`}),G=C(()=>({backgroundColor:"#ffffff",backgroundImage:"linear-gradient(#000000 1px, transparent 1px), linear-gradient(90deg, #000000 1px, transparent 1px)",backgroundSize:"60px 60px",backgroundRepeat:"repeat",opacity:.07})),j=o=>{x[o]=null},S=o=>{let e=o.trim();if(e.startsWith("http://")||e.startsWith("https://"))try{return new URL(e),e}catch{return null}e.startsWith("/")||(e="/"+e);const l=r.baseUrl.trim().replace(/\/+$/,"");return l?l+e:null},z=()=>{if(!r.baseUrl.trim()){x.baseUrl="Please enter your website URL first";return}const o=b.value.split(` 2`).filter(e=>e.trim());for(const e of o){const l=S(e);l&&!i.value.find(f=>f.loc===l)&&i.value.push({loc:l})}b.value=""},D=o=>{const e=S(o);return i.value.some(l=>l.loc===e)},T=o=>{if(!r.baseUrl.trim()){x.baseUrl="Please enter your website URL first";return}const e=S(o);if(!e)return;const l=i.value.findIndex(f=>f.loc===e);l===-1?i.value.push({loc:e}):i.value.splice(l,1)},$=o=>{i.value.splice(o,1)},O=()=>{i.value=[],m.value=""},X=()=>{if(!r.baseUrl.trim()){x.baseUrl="Please enter your website URL";return}if(i.value.length===0)return;const o=new Date().toISOString().split("T")[0];let e=`<?xml version="1.0" encoding="UTF-8"?> 3`;e+=`<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> 4`;for(const l of i.value)e+=` <url> 5`,e+=` <loc>${V(l.loc)}</loc> 6`,r.includeLastmod&&(e+=` <lastmod>${o}</lastmod> 7`),r.defaultChangefreq&&(e+=` <changefreq>${r.defaultChangefreq}</changefreq> 8`),r.defaultPriority&&(e+=` <priority>${r.defaultPriority}</priority> 9`),e+=` </url> 10`;e+="</urlset>",m.value=e},V=o=>o.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),N=async()=>{try{await navigator.clipboard.writeText(m.value),v.value=!0,setTimeout(()=>{v.value=!1},2e3)}catch(o){console.error("Copy failed:",o)}},E=()=>{const o=new Blob([m.value],{type:"application/xml"}),e=URL.createObjectURL(o),l=document.createElement("a");l.href=e,l.download="sitemap.xml",document.body.appendChild(l),l.click(),document.body.removeChild(l),URL.revokeObjectURL(e)},H=()=>{r.baseUrl="",r.defaultChangefreq="weekly",r.defaultPriority="",r.includeLastmod=!0,b.value="",i.value=[],m.value=""},g=de();return pe({title:"Free Sitemap Generator | Create XML Sitemap Online | Waitlister",ogTitle:"Free Sitemap Generator | Create XML Sitemap Online | Waitlister",description:"Generate an XML sitemap for your website instantly. Add URLs, configure settings, and download a ready-to-use sitemap file. Free, no signup required.",ogDescription:"Generate an XML sitemap for your website instantly. Free online sitemap generator tool.",ogUrl:`${g.baseUrl}/tools/sitemap-generator`,ogType:"website",ogImage:g.ogImage,twitterImage:g.ogImage,twitterCard:"summary_large_image",twitterTitle:"Free Sitemap Generator | Create XML Sitemap | Waitlister",twitterDescription:"Generate an XML sitemap for your website. Free tool, no signup required.",twitterSite:"@getwaitlister",twitterCreator:"@getwaitlister",keywords:"sitemap generator, xml sitemap generator, sitemap creator, create sitemap, sitemap maker, sitemap builder, free sitemap generator, xml sitemap creator, website sitemap generator, seo sitemap",author:g.author,robots:"index, follow","og:locale":"en_US","og:site_name":"Waitlister",structuredData:[{"@context":"https://schema.org","@type":"WebApplication",name:"Sitemap Generator",alternateName:"Free XML Sitemap Generator",url:`${g.baseUrl}/tools/sitemap-generator`,description:"Generate XML sitemaps to help search engines discover and index your website pages.",applicationCategory:"DeveloperApplication",operatingSystem:"Web",browserRequirements:"Requires JavaScript",offers:{"@type":"Offer",price:"0",priceCurrency:"USD",availability:"https://schema.org/InStock"},featureList:["Bulk URL input","Common page quick-add","Changefreq setting","Priority setting","Last modified date","Download as XML","Free to use","No signup required"],creator:{"@type":"Organization",name:"Waitlister",url:"https://waitlister.me"}},{"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"What is an XML sitemap?",acceptedA
10nswer:{"@type":"Answer",text:"An XML sitemap is a file that lists all the important pages on your website. It helps search engines like Google discover and crawl your content more efficiently, ensuring all your pages can be indexed."}},{"@type":"Question",name:"Where do I put my sitemap.xml file?",acceptedAnswer:{"@type":"Answer",text:"Upload your sitemap.xml to your website's root directory so it's accessible at https://yourdomain.com/sitemap.xml. You should also reference it in your robots.txt file and submit it to Google Search Console."}},{"@type":"Question",name:"How many URLs can a sitemap have?",acceptedAnswer:{"@type":"Answer",text:"A single sitemap can contain up to 50,000 URLs and must be no larger than 50MB uncompressed. For larger sites, you can create multiple sitemaps and reference them in a sitemap index file."}},{"@type":"Question",name:"Do I need a sitemap for SEO?",acceptedAnswer:{"@type":"Answer",text:"While not strictly required, sitemaps are highly recommended for SEO. They help search engines discover new pages faster, understand your site structure, and prioritize crawling. They're especially important for large sites, new sites, and sites with pages not well-linked internally."}}]}]}),(o,e)=>{const l=ne,f=ie,Q=me,B=ce,Y=ue,J=xe,K=be,Z=ge,ee=we,te=fe,se=he,oe=_e,w=ye,re=ve,le=Se,ae=Ue;return p(),c("main",Ie,[t("div",qe,[t("div",{class:"absolute inset-0 z-0",style:ke(s(G))},null,4),e[31]||(e[31]=t("div",{class:"absolute inset-0 bg-gradient-to-b from-bgBase/90 via-transparent to-transparent pointer-events-none"},null,-1)),e[32]||(e[32]=t("div",{class:"absolute inset-0 bg-gradient-to-r from-bgBase/20 via-bgBase to-bgBase/20 pointer-events-none"},null,-1)),e[33]||(e[33]=t("div",{class:"absolute inset-0 bg-gradient-to-t from-bgBase via-bgBase/20 to-bgBase/0 pointer-events-none"},null,-1)),t("div",Pe,[a(l,{class:"mb-6",items:[{label:"Tools",path:"/tools"},{label:"Sitemap Generator",path:"/tools/sitemap-generator"}]}),t("div",Ae,[t("div",Me,[t("div",Fe,[a(f,{class:"w-5 h-5 flex shrink-0"}),e[6]||(e[6]=n(" Free Tool ",-1))]),e[19]||(e[19]=t("h1",{class:"mb-3 sm:mb-4 md:mb-5 text-4xl md:text-5xl text-center lg:text-left"}," Sitemap Generator ",-1)),e[20]||(e[20]=t("p",{class:"mb-8 max-w-xl text-center lg:text-left text-textSecondary text-base"},[n(" Create an XML sitemap to help search engines discover your pages. "),t("br"),n(" Add your URLs and download a ready-to-use sitemap file. ")],-1)),t("div",We,[t("div",Ge,[e[7]||(e[7]=t("label",{for:"baseUrl",class:"mb-0.5 text-sm font-medium text-textPrimary"},[n(" Website URL "),t("span",{class:"text-red-500"},"*")],-1)),y(t("input",{id:"baseUrl","onUpdate:modelValue":e[0]||(e[0]=d=>s(r).baseUrl=d),type:"url",class:k(["w-full",{"border-red-300":s(x).baseUrl}]),placeholder:"https://example.com",onInput:e[1]||(e[1]=d=>j("baseUrl"))},null,34),[[R,s(r).baseUrl]]),s(x).baseUrl?(p(),c("p",je,u(s(x).baseUrl),1)):(p(),c("p",ze,"Your website's base URL (include https://)"))]),t("div",De,[t("div",Te,[e[8]||(e[8]=t("label",{for:"bulkUrls",class:"text-sm font-medium text-textPrimary"}," Add pages ",-1)),t("span",$e,u(s(i).length)+" URL"+u(s(i).length!==1?"s":""),1)]),y(t("textarea",{id:"bulkUrls","onUpdate:modelValue":e[2]||(e[2]=d=>Ce(b)?b.value=d:null),rows:"4",class:"w-full font-mono text-sm resize-none",placeholder:`/about 11/contact 12/blog 13/blog/post-1 14/products`},null,512),[[R,s(b)]]),t("div",{class:"flex items-center gap-2"},[t("button",{type:"button",onClick:z,class:"button-main"}," Add URLs "),e[9]||(e[9]=t("p",{class:"text-xs text-textLight"},"Enter paths (one per line) or full URLs",-1))])]),s(i).length>0?(p(),c("div",Oe,[t("div",{class:"flex items-center justify-between"},[e[10]||(e[10]=t("label",{class:"text-sm font-medium text-textPrimary"},"Added URLs",-1)),t("button",{type:"button",onClick:O,class:"text-xs text-red-500 hover:underline"}," Clear all ")]),t("div",Xe,[(p(!0),c(I,null,q(s(i),(d,U)=>(p(),c("div",{key:U,class:"flex items-center justify-between gap-2 p-2 bg-bgBase rounded border border-border"},[t("code",Ve,u(d.loc),1),t("button",{type:"button",onClick:Dt=>$(U),class:"p-1 text-red-500 hover:bg-red-50 rounded transition-colors flex-shrink-0"},[a(Q,{class:"w-3 h-3"})],8,Ne)]))),128))])])):Le("",!0),t("div",Ee,[e[16]||(e[16]=t("h3",{class:"text-sm font-medium text-textPrimary"},"Default settings for all URLs",-1)),t("div",He,[e[12]||(e[12]=t("label",{for:"changefreq",class:"text-xs text-textSecondary"},"Change frequency",-1)),y(t("select",{id:"changefreq","onUpdate:modelValue":e[3]||(e[3]=d=>s(r).defaultChangefreq=d),class:"w-full px-3 py-2 bg-bgBase border border-border rounded-lg text-sm"},[...e[11]||(e[11]=[h('<option value="">Don't include</option><option value="always">Always</option><option value="hourly">Hourly</option><option value="daily">Daily</option><option value="weekly">Weekly</option><option value="monthly">Monthly</option><option value="yearly">Yearly</option><option value="never">Never</option>',8)])],512),[[P,s(r).defaultChangefreq]])]),t("div",Qe,[e[14]||(e[14]=t("label",{for:"priority",class:"text-xs text-textSecondary"},"Priority (0.0 - 1.0)",-1)),y(t("select",{id:"priority","onUpdate:modelValue":e[4]||(e[4]=d=>s(r).defaultPriority=d),class:"w-full px-3 py-2 bg-bgBase border border-border rounded-lg text-sm"},[...e[13]||(e[13]=[h('<option value="">Don't include</option><option value="1.0">1.0 (Highest)</option><option value="0.9">0.9</option><option value="0.8">0.8</option><option value="0.7">0.7</option><option value="0.6">0.6</option><option value="0.5">0.5 (Default)</option><option value="0.4">0.4</option><option value="0.3">0.3</option><option value="0.2">0.2</option><option value="0.1">0.1</option><option value="0.0">0.0 (Lowest)</option>',12)])],512),[[P,s(r).defaultPriority]])]),t("label",Ye,[y(t("input",{type:"checkbox","onUpdate:modelValue":e[5]||(e[5]=d=>s(r).includeLastmod=d),class:"w-4 h-4 rounded border-border text-secondary focus:ring-secondary"},null,512),[[Be,s(r).includeLastmod]]),e[15]||(e[15]=t("span",{class:"text-sm text-textPrimary"},"Include last modified date (today)",-1))])]),t("div",Je,[e[17]||(e[17]=t("label",{class:"text-sm font-medium text-textPrimary"},"Quick add common pages",-1)),t("div",Ke,[(p(),c(I,null,q(F,d=>t("button",{key:d.path,type:"button",onClick:U=>T(d.path),class:k(["px-3 py-1.5 text-xs rounded-full border transition-colors duration-200",D(d.path)?"bg-secondary-100 text-secondary-700 border-secondary":"bg-bgBase border-border text-textSecondary hover:border-secondary hover:text-secondary"])},u(d.label),11,Ze)),64))])]),t("button",{type:"button",onClick:X,class:k(["w-full button-main px-8 py-5 rounded-xl",{"opacity-50 cursor-not-allowed":!s(L)}]),disabled:!s(L)},[e[18]||(e[18]=n(" Generate sitemap ",-1)),a(B,{class:"","aria-hidden":"true"})],10,et)])]),t("div",tt,[s(m)?(p(),c("div",st,[t("div",ot,[e[22]||(e[22]=t("h2",{class:"text-xl font-semibold"},"Your sitemap.xml",-1)),t("div",rt,[t("button",{onClick:N,class:"button-secondary"},[n(u(s(v)?"Copied!":"Copy")+" ",1),s(v)?(p(),A(Y,{key:0,class:"w-4 h-4 text-green-600"})):(p(),A(J,{key:1,class:"w-4 h-4"}))]),t("button",{onClick:E,class:"button-main"},[e[21]||(e[21]=n(" Download ",-1)),a(K,{class:"w-4 h-4"})])])]),t("div",lt,[t("pre",at,[t("code",null,u(s(m)),1)])]),t("div",nt,[t("div",it,[t("div",dt,u(s(i).length),1),e[23]||(e[23]=t("div",{class:"text-xs text-textSecondary"}
14,"URLs",-1))]),t("div",pt,[t("div",mt,u(s(W)),1),e[24]||(e[24]=t("div",{class:"text-xs text-textSecondary"},"File size",-1))])]),e[26]||(e[26]=t("div",{class:"mt-4 p-3 bg-blue-50 border border-blue-200 rounded-lg"},[t("p",{class:"text-sm text-blue-700"},[t("strong",null,"Next steps:"),n(" Upload "),t("code",{class:"bg-blue-100 px-1 rounded"},"sitemap.xml"),n(" to your website's root directory, then submit it to "),t("a",{href:"https://search.google.com/search-console",target:"_blank",rel:"noopener",class:"underline text-blue-800"},"Google Search Console"),n(". ")])],-1)),t("button",{onClick:H,class:"mt-4 w-full button button-secondary px-8 py-5"},[e[25]||(e[25]=n(" Start over ",-1)),a(Z,{class:"w-4 h-4"})])])):(p(),c("div",ct,[t("div",ut,[e[30]||(e[30]=t("div",{class:"absolute inset-0 opacity-[0.03]"},[t("div",{class:"absolute inset-0",style:{"background-image":"radial-gradient(circle at 25% 25%, #000000 1px, transparent 1px)","background-size":"30px 30px"}})],-1)),t("div",xt,[t("div",bt,[a(ee,{class:"w-8 h-8 text-white"})]),e[27]||(e[27]=t("h3",{class:"text-xl font-semibold text-textPrimary mb-3"}," Help search engines find your pages ",-1)),e[28]||(e[28]=t("p",{class:"text-textSecondary mb-6 max-w-sm leading-relaxed"}," A sitemap tells search engines about all the pages on your site, helping them crawl and index your content more efficiently. ",-1)),e[29]||(e[29]=t("div",{class:"w-full max-w-xs p-3 bg-gray-900 rounded-lg text-left"},[t("code",{class:"text-xs text-gray-300 font-mono"},[n(" <url>"),t("br"),n(" Â Â <loc>https://example.com/</loc>"),t("br"),n(" Â Â <lastmod>2024-01-15</lastmod>"),t("br"),n(" </url> ")])],-1))])])]))])])])]),t("div",gt,[t("div",ft,[e[40]||(e[40]=t("div",{class:"text-center mb-12"},[t("h2",{class:"text-3xl sm:text-4xl mb-4"},"Why you need a sitemap"),t("p",{class:"text-textSecondary text-base max-w-2xl mx-auto"}," Sitemaps help search engines understand your site structure and discover all your important pages. ")],-1)),t("div",yt,[t("div",vt,[t("div",wt,[a(te,{class:"w-7 h-7"})]),e[34]||(e[34]=t("h3",{class:"text-lg mb-2"},"Faster discovery",-1)),e[35]||(e[35]=t("p",{class:"max-w-sm text-textSecondary text-sm"}," New pages get found and indexed faster when they're listed in your sitemap. ",-1))]),t("div",ht,[t("div",_t,[a(se,{class:"w-7 h-7"})]),e[36]||(e[36]=t("h3",{class:"text-lg mb-2"},"Better crawl efficiency",-1)),e[37]||(e[37]=t("p",{class:"max-w-sm text-textSecondary text-sm"}," Search engines can prioritize important pages and avoid wasting crawl budget on duplicates. ",-1))]),t("div",St,[t("div",Ut,[a(oe,{class:"w-7 h-7"})]),e[38]||(e[38]=t("h3",{class:"text-lg mb-2"},"Rich metadata",-1)),e[39]||(e[39]=t("p",{class:"max-w-sm text-textSecondary text-sm"}," Include last modified dates and change frequency to help search engines know when to re-crawl. ",-1))])])])]),e[54]||(e[54]=h('<div class="w-full px-3 sm:px-5 md:px-14 lg:px-20 pt-12 sm:pt-16 md:pt-20 bg-bgBase"><div class="w-full max-w-[65rem] mx-auto"><div class="text-center mb-12"><h2 class="text-3xl sm:text-4xl mb-4">Sitemap XML elements</h2></div><div class="grid grid-cols-1 md:grid-cols-2 gap-6"><div class="p-6 bg-bgSecondary border border-border rounded-lg"><h3 class="text-base font-semibold mb-3 font-mono text-secondary"><loc></h3><p class="text-textSecondary text-sm mb-3"><strong>Required.</strong> The full URL of the page. Must include the protocol (https://). </p><pre class="p-3 bg-gray-900 text-gray-100 rounded text-xs font-mono"><loc>https://example.com/page</loc></pre></div><div class="p-6 bg-bgSecondary border border-border rounded-lg"><h3 class="text-base font-semibold mb-3 font-mono text-secondary"><lastmod></h3><p class="text-textSecondary text-sm mb-3"><strong>Optional.</strong> When the page was last modified. Use W3C datetime format. </p><pre class="p-3 bg-gray-900 text-gray-100 rounded text-xs font-mono"><lastmod>2024-01-15</lastmod></pre></div><div class="p-6 bg-bgSecondary border border-border rounded-lg"><h3 class="text-base font-semibold mb-3 font-mono text-secondary"><changefreq></h3><p class="text-textSecondary text-sm mb-3"><strong>Optional.</strong> How often the page changes. Google largely ignores this. </p><pre class="p-3 bg-gray-900 text-gray-100 rounded text-xs font-mono"><changefreq>weekly</changefreq></pre></div><div class="p-6 bg-bgSecondary border border-border rounded-lg"><h3 class="text-base font-semibold mb-3 font-mono text-secondary"><priority></h3><p class="text-textSecondary text-sm mb-3"><strong>Optional.</strong> Priority relative to other pages (0.0-1.0). Google largely ignores this too. </p><pre class="p-3 bg-gray-900 text-gray-100 rounded text-xs font-mono"><priority>0.8</priority></pre></div></div></div></div>',1)),t("div",kt,[t("div",Ct,[e[49]||(e[49]=t("div",{class:"text-center mb-12"},[t("h2",{class:"text-3xl sm:text-4xl mb-4"},"Sitemap best practices")],-1)),t("div",Lt,[t("div",Bt,[a(w,{class:"w-8 h-8 mb-3 text-primary"}),e[41]||(e[41]=t("h3",{class:"text-base font-medium mb-2"},"Only include canonical URLs",-1)),e[42]||(e[42]=t("p",{class:"text-textSecondary text-sm"}," Don't include duplicate pages, redirects, or pages blocked by robots.txt. Only indexable URLs. ",-1))]),t("div",Rt,[a(w,{class:"w-8 h-8 mb-3 text-primary"}),e[43]||(e[43]=t("h3",{class:"text-base font-medium mb-2"},"Keep it under 50MB / 50,000 URLs",-1)),e[44]||(e[44]=t("p",{class:"text-textSecondary text-sm"}," For larger sites, split into multiple sitemaps and use a sitemap index file. ",-1))]),t("div",It,[a(w,{class:"w-8 h-8 mb-3 text-primary"}),e[45]||(e[45]=t("h3",{class:"text-base font-medium mb-2"},"Reference in robots.txt",-1)),e[46]||(e[46]=t("p",{class:"text-textSecondary text-sm"}
14,[n(" Add "),t("code",{class:"bg-bgSecondary px-1 rounded"},"Sitemap: https://example.com/sitemap.xml"),n(" to your robots.txt. ")],-1))]),t("div",qt,[a(w,{class:"w-8 h-8 mb-3 text-primary"}),e[47]||(e[47]=t("h3",{class:"text-base font-medium mb-2"},"Submit to Search Console",-1)),e[48]||(e[48]=t("p",{class:"text-textSecondary text-sm"}," After uploading, submit your sitemap in Google Search Console for faster indexing. ",-1))])])])]),t("section",Pt,[t("div",At,[t("div",Mt,[e[51]||(e[51]=t("h2",{class:"mb-2 text-3xl sm:text-4xl text-center sm:text-left text-white"}," Building a new website? ",-1)),e[52]||(e[52]=t("p",{class:"md:max-w-[30rem] mb-5 md:mb-8 text-gray-100 text-lg"}," Start collecting leads before you launch with a beautiful waitlist page. ",-1)),t("div",Ft,[a(re,{to:"/sign-up",class:"btn-kumo-primary w-full sm:w-fit px-7 h-10 flex items-center justify-center gap-1.5 font-semibold text-base font-display text-textPrimary rounded-lg"},{default:Re(()=>[e[50]||(e[50]=n(" Get started free ",-1)),a(B,{class:"","aria-hidden":"true"})]),_:1})])]),t("div",Wt,[t("div",Gt,[a(le,{class:"w-48 h-48 text-secondary-500/30"})]),e[53]||(e[53]=h('<blockquote class="relative z-10 text-xl font-medium leading-relaxed mb-6 text-white"> Before choosing Waitlister, I compared several alternatives. <mark class="px-2 py-0.5 bg-primary-400 text-textPrimary"> Honestly, Waitlister stands far ahead. </mark> The product is more intuitive, faster to set up, and clearly built with real attention to detail. </blockquote><div class="flex flex-row items-center gap-3"><div class="w-7 aspect-square rounded-full bg-bgSecondary flex items-center justify-center overflow-hidden font-semibold text-sm"> J </div><div><div class="font-semibold text-sm text-white">John</div><div class="text-xs text-gray-100"> Verified Purchaser, AppSumo </div></div></div>',2))])])]),t("div",jt,[a(ae)])])}}};export{rs as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.