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

canonical-header

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

यह स्किल जाँचती है कि पेज के canonical संकेत एक-दूसरे से मेल खाते हैं। यह उन साइट मालिकों और डेवलपर के लिए है जो HTML और HTTP हेडर दोनों में canonical पते सेट करते हैं।

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

  • ✓जब कोई पेज HTML canonical टैग और Link हेडर, दोनों भेजता है।
  • ✓जब पेज और सर्वर प्रतिक्रिया में canonical संकेत अलग हैं।
  • ✓जब सर्च में डुप्लीकेट सामग्री की समस्याएँ दिखती हैं।

Skill का लिंक

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

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

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

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

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

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

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

“मेरे प्रोडक्ट पेजों के canonical टैग और Link हेडर की तुलना करें और उन्हें एक जैसा करें।”

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

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

एजेंट HTML canonical टैग और HTTP Link हेडर की तुलना करता है, और दोनों में से एक को अपडेट करता है ताकि दोनों एक ही canonical URL दें।

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

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

Sync HTML canonical tags and Link headers

Conflicting canonical-url signals can lead search engines to ignore both declarations, potentially causing duplicate content issues and incorrect indexing.

Quick Reference

  • Ensure the rel="canonical" tag in your HTML matches the Link canonical-url header if both are used
  • Avoid sending conflicting signals to search engines about the primary version of a page
  • Maintain consistency across all methods of declaring your canonical URL

Check

Compare the HTML canonical tag with the HTTP Link header to ensure they point to the exact same URL.

Fix

Update either the HTML tag or the HTTP header so that they provide a consistent canonical URL signal.

Explain

Explain the risks of sending conflicting technical SEO signals to search engine crawlers.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to Sync HTML canonical tags and Link headers. 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/canonical-header

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

जब वे अलग हों तो क्या गड़बड़ होती है?

स्किल कहती है कि परस्पर विरोधी संकेत सर्च इंजन को दोनों घोषणाएँ अनदेखा करने पर मजबूर कर सकते हैं।

मुझे किसे बदलना चाहिए?

दोनों में से कोई भी, बशर्ते दोनों जगह अंतिम canonical URL एक ही हो।

यह कौन-सी समस्या रोकता है?

डुप्लीकेट सामग्री की समस्याएँ और गलत इंडेक्सिंग।

जानकारी

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

Use when auditing metadata, crawlability, structured data, or indexability related to Sync HTML canonical tags and Link headers. Verify the rendered HTML and HTTP response rather than relying only on source files.

repo: thedaviddias/Front-End-Checklist

लोकप्रियता

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

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

0

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

कमेंट

  • …

इस repository की और skills

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