XML Sitemap वैलिडेटर
एक sitemap.xml फ़ाइल पेस्ट करें या किसी live URL से fetch करें, और इसकी structure जांचें: required tags, malformed URLs, 50,000-URL/50MB protocol limits, और duplicate entries। कई child sitemaps को reference करने वाली sitemap index फ़ाइलें भी supported हैं।
अक्सर पूछे जाने वाले प्रश्न
यह क्या जांचता है?
कि फ़ाइल valid <urlset> या <sitemapindex> root के साथ well-formed XML हो, हर entry में valid http(s) URL के साथ required <loc> tag हो, <changefreq> और <priority> values (जब मौजूद हों) allowed range में हों, फ़ाइल sitemap protocol की 50,000-URL या 50MB सीमाओं से अधिक न हो, और कोई duplicate URLs न हों।
sitemap index फ़ाइल क्या है?
<sitemapindex> sitemaps का एक sitemap है - जब किसी साइट में एक फ़ाइल की 50,000-URL सीमा से ज़्यादा URLs हों तब इसका उपयोग होता है। यह directly page URLs के बजाय child sitemap URLs को लिस्ट करता है, और यह टूल उस structure को वैसे ही validate करता है जैसे यह regular sitemap को validate करता है।
sitemap में duplicate URLs क्यों होंगे?
आमतौर पर एक generation bug: एक ही पेज दो बार listed, कभी-कभी अलग trailing slashes या query parameters के साथ। Duplicates सीधे sitemap को नहीं तोड़ते, पर वे noise जोड़ देते हैं जिसे search engines को sort करना पड़ता है, तो इन्हें साफ़ करना फ़ायदेमंद है।
क्या URL से fetch करना किसी भी साइट के लिए काम करता है?
हां, URL server-side पर fetch होता है तो कोई browser CORS restriction नहीं है। अगर आप सिर्फ़ एक domain डालते हैं, तो यह अपने आप {domain}/sitemap.xml try करता है; अगर sitemap कहीं और है तो आप exact sitemap URL भी पेस्ट कर सकते हैं।