मुख्य सामग्री पर जाएँ
Skillpedia
SEO75k · #3023

sitemap-valid

यह क्या करती है

यह स्किल XML साइटमैप की संरचना जाँचती है, जिसमें namespace, URL फ़ॉर्मेट, आकार की सीमाएँ और विशेष अक्षर शामिल हैं, और समस्याएँ ठीक करती है। यह उन साइट मालिकों और डेवलपर्स के लिए है जो साइटमैप हाथ से या कोड से बनाते हैं।

कब इस्तेमाल करें

  • ✓जब आप एजेंट से जाँचवाएँ कि आपकी साइटमैप फ़ाइल मान्य है या नहीं।
  • ✓जब आप साइटमैप जमा करें और Search Console में एरर दिखे।
  • ✓जब आपका साइटमैप बहुत बड़ा हो गया हो और उसे कई फ़ाइलों में बाँटना हो।

Skill का लिंक

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/sitemap-valid/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/sitemap-valid/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“Google Search Console कहता है कि मेरे साइटमैप में एरर हैं। क्या आप जाँच सकते हैं कि फ़ाइल मान्य है और उसे ठीक कर सकते हैं?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट फ़ाइल को मानक साइटमैप फ़ॉर्मेट से मिलाता है, namespace, पूरे पते और आकार की सीमाएँ पक्की करता है। वह ampersand जैसे विशेष अक्षरों को एन्कोड करता है और बहुत बड़ी फ़ाइलों को index के साथ कई साइटमैप में बाँटता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Keep XML sitemaps valid

An invalid or malformed sitemap is silently ignored by search engines, leaving newly published or orphaned pages undiscovered by crawlers.

Quick Reference

  • The root element must be <urlset> with the correct xmlns namespace
  • Each <url> must contain exactly one <loc> element with a fully qualified, percent-encoded URL
  • Maximum 50,000 URLs and 50 MB per sitemap file; use a sitemap index for larger sites
  • Encode XML special characters: & → &amp;, < → &lt;, > → &gt;, " → &quot;, ' → &apos;

Check

Fetch the sitemap and validate it against the sitemaps.org schema. Check that the xmlns attribute is http://www.sitemaps.org/schemas/sitemap/0.9, all <loc> values are absolute URLs, no file exceeds 50,000 URLs or 50 MB, and special characters are properly XML-encoded.

Fix

Re-generate the sitemap using a validated sitemap library. Encode all special characters in URLs (& → &amp;). Split oversized sitemaps into multiple files and reference them from a sitemap index. Resubmit to Google Search Console.

Explain

Explain the sitemaps.org XML schema requirements, what causes validation errors in Google Search Console, and how encoding errors in <loc> URLs prevent crawlers from fetching those pages.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to Keep XML sitemaps valid. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/seo/sitemap-valid

अक्सर पूछे जाने वाले सवाल

आकार की सीमाएँ क्या हैं?

स्किल कहती है कि हर साइटमैप फ़ाइल में अधिकतम 50,000 URL और 50 MB हो सकते हैं, और बड़ी साइटों को sitemap index इस्तेमाल करना चाहिए।

ampersand क्यों मायने रखता है?

स्किल कहती है कि URL में विशेष अक्षरों को एन्कोड करना ज़रूरी है, क्योंकि बिना एन्कोड वाले अक्षर फ़ाइल तोड़ सकते हैं और क्रॉलर को पता पढ़ने से रोक सकते हैं।

साइटमैप कैसे ठीक करें?

स्किल मान्य साइटमैप लाइब्रेरी से उसे दोबारा बनाने और फिर Search Console में जमा करने का सुझाव देती है।

जानकारी

लेखक का मूल विवरण

Use when applies to any site with a manually or programmatically generated XML sitemap. Use when debugging sitemap submission errors in Google Search Console.

repo: thedaviddias/Front-End-Checklist

लोकप्रियता

GitHub स्टार
75k
रैंकिंग में स्थान
#3023
लाइसेंस
MIT
अपडेट की गई
31/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills