SEO & Discoverability

HTTP status codes का SEO के लिए असल मतलब क्या है

उन response codes की व्यावहारिक गाइड जो crawling, indexing, redirects, और deindexing को प्रभावित करते हैं — बिना हर code को ranking crisis माने।

The Wux Webtools Team The Wux Webtools Team 5 मिनट पढ़ें एआई-सहायता, मानव-समिक्षित
Illustration of HTTP status code paths affecting how a search crawler reaches or skips web pages.
सामग्री की तालिका
  1. Status code पूरी SEO कहानी नहीं है
  2. 200 OK: indexable, लेकिन अपने आप valuable नहीं
  3. 301 और 308: permanent redirects
  4. 302 और 307: temporary redirects
  5. 304 Not Modified: उपयोगी, लेकिन ranking shortcut नहीं
  6. 404 Not Found: page gone होने पर normal
  7. 410 Gone: 404 से stronger, लेकिन सावधानी से use करें
  8. 401, 403, और blocked access
  9. 429 Too Many Requests: consequences के साथ crawl control
  10. 500, 502, 503, और 504: reliability signals
  11. Redirect chains और loops पर खास ध्यान दें
  12. Practical priority list
  13. सही code चुनने का simple rule

HTTP status codes उन विषयों में से हैं जहाँ SEO सलाह कभी-कभी अजीब तरह से नाटकीय हो जाती है। एक 404 को “lost authority” मान लिया जाता है। एक redirect “link equity leakage” बन जाता है। एक 500 emergency बन जाता है, भले ही वह deploy के दौरान केवल छह मिनट रहा हो।

इसका शांत संस्करण यह है: HTTP status codes निर्देश और signals हैं। वे browsers, bots, caches, और अन्य clients को बताते हैं कि किसी URL के लिए request करने पर क्या हुआ। Search engines इन responses का उपयोग यह तय करने के लिए करते हैं कि किसी page को crawl, index, keep, replace, या drop करना है या नहीं।

लेकिन हर status code का SEO weight समान नहीं होता। कुछ routine हैं। कुछ केवल scale पर समस्या बनते हैं। और कुछ पर तुरंत ध्यान देना चाहिए।

Status code पूरी SEO कहानी नहीं है

Status code HTTP response का केवल एक हिस्सा है। Search engines यह भी देखते हैं:

  • redirects के बाद final URL
  • canonical tags
  • robots directives
  • page content
  • internal links
  • sitemap signals
  • historical crawl behavior
  • समय के साथ server reliability

इसका मतलब है कि “page returns 200” और “page is indexable” एक ही बात नहीं हैं। कोई URL 200 return कर सकता है और फिर भी noindex से blocked हो सकता है, कहीं और canonicalized हो सकता है, या content पतला या खाली होने के कारण soft 404 माना जा सकता है।

इसी तरह, 404 अपने आप bad नहीं है। Deleted page को आम तौर पर 404 या 410 return करना चाहिए। SEO समस्या यह नहीं है कि missing pages मौजूद हैं। समस्या तब है जब important pages गलत code return करते हैं, या आपकी site contradictory signals भेजती है।

यदि आप production में इसे debug कर रहे हैं, तो केवल browser में दिखने वाली चीज़ पर निर्भर न रहें। Actual response chain inspect करें। Raw header check, command-line request, या redirect trace आपको visible page से अधिक बताएगा। हमने production में redirects और HTTP headers debug करने के लिए एक छोटे toolkit में एक practical workflow cover किया है।

200 OK: indexable, लेकिन अपने आप valuable नहीं

200 OK response का अर्थ है कि request सफल हुई और server ने content return किया। SEO के लिए, यह उन pages के लिए normal response है जिन्हें आप crawl और संभवतः index कराना चाहते हैं।

लेकिन 200 indexing की guarantee नहीं है। Search engines फिर भी page को index न करने का निर्णय ले सकते हैं यदि वह duplicate, low quality, page-level directives से blocked, या links के माध्यम से discoverable नहीं है।

200 responses के साथ सबसे common SEO mistake यह है कि उन्हें उन pages के लिए return किया जाता है जो असल pages नहीं हैं:

  • empty search results pages
  • “sorry, unavailable” text वाले deleted product pages
  • बिना meaningful content वाले location pages
  • broken templates जो केवल shell render करते हैं
  • expired listings जिन्हें remove या redirect किया जाना चाहिए

ये soft 404s बन सकते हैं। Soft 404 तब होता है जब server “OK” कहता है, लेकिन content crawler से कहता है “यहाँ कुछ उपयोगी नहीं है।” Search engines फिर भी उस URL को missing page जैसा treat कर सकते हैं।

एक अच्छा rule: यदि कोई human कहेगा “यह page अब मौजूद नहीं है,” तो server को शायद 200 नहीं कहना चाहिए।

301 और 308: permanent redirects

301 Moved Permanently और 308 Permanent Redirect clients को बताते हैं कि कोई URL स्थायी रूप से move हो गया है। SEO के लिए, ये सही tools हैं जब किसी page का clear replacement हो:

  • HTTP to HTTPS migration
  • old slug to new slug
  • merged article to stronger article
  • discontinued product to a close successor
  • trailing slash या canonical host normalization

Search engines आम तौर पर permanent redirects के माध्यम से canonicalization signals transfer करते हैं। सरल शब्दों में: यदि आप old URL को सही new URL पर redirect करते हैं, तो search engines old page से जुड़े कई signals consolidate कर सकते हैं।

Risk यह नहीं है कि 301 स्वभाव से harmful है। Risk poor mapping है।

Bad redirect patterns में शामिल हैं:

  • हर old URL को homepage पर redirect करना
  • deleted pages को vaguely related category pages पर redirect करना
  • A → B → C → D जैसी chains बनाना
  • ऐसे URL पर redirect करना जो blocked, noindexed, या कहीं और canonicalized है
  • mobile और desktop को inconsistently redirect करना

Permanent redirect को एक सवाल का जवाब देना चाहिए: “इस URL का best current equivalent क्या है?” यदि कोई equivalent नहीं है, तो 404 या 410 अधिक honest हो सकता है।

302 और 307: temporary redirects

302 Found और 307 Temporary Redirect संकेत देते हैं कि move temporary है। Original URL से अपेक्षा है कि वह समय के साथ main URL बना रहेगा।

Temporary redirects का उपयोग सचमुच temporary situations के लिए करें:

  • short-lived campaign routing
  • geolocation या A/B testing जिसे canonical URL replace नहीं करना चाहिए
  • temporary maintenance alternatives
  • stock या availability flows जो बार-बार बदलते हैं

SEO के लिए मुख्य issue ambiguity है। यदि कोई “temporary” redirect महीनों या वर्षों तक बना रहता है, तो search engines अंततः destination को canonical मान सकते हैं। लेकिन आपको उस interpretation पर निर्भर नहीं रहना चाहिए।

यदि move permanent है, तो permanent redirect use करें। यदि temporary है, तो temporary redirect use करें। Boring answer ही correct one है।

304 Not Modified: उपयोगी, लेकिन ranking shortcut नहीं

304 Not Modified HTTP caching का हिस्सा है। यह client को बताता है कि resource उस version के बाद से नहीं बदला है जो उसके पास पहले से है।

यह code crawl efficiency और performance hygiene के लिए अच्छा है। यह unnecessary data transfer घटा सकता है और repeated requests को सस्ता बना सकता है। लेकिन simplistic sense में यह direct ranking factor नहीं है।

304 को infrastructure quality की तरह सोचें। यह clients और crawlers को आपकी site के साथ efficiently interact करने में मदद करता है। यह weak content को strong content में नहीं बदलता।

404 Not Found: page gone होने पर normal

404 Not Found का अर्थ है कि server requested resource नहीं ढूँढ सकता। यह अपने आप SEO disaster नहीं है।

404s appropriate हैं जब:

  • कोई page remove किया गया और उसका replacement नहीं है
  • कोई bad external link non-existent URL की ओर point करता है
  • users URLs mistype करते हैं
  • old test या staging URLs कभी exist करने के लिए थे ही नहीं

Search engines persistent 404 URLs को अंततः index से drop कर देंगे। आम तौर पर आप यही चाहते हैं।

आपको 404s तब fix करने चाहिए जब वे matter करने वाले URLs को affect करें:

  • valuable backlinks वाले pages
  • meaningful traffic पाने वाले URLs
  • migration के दौरान गलती से remove हुए important pages
  • missing pages की ओर point करते internal links
  • 404 return करने वाले sitemap URLs

हर 404 को homepage पर redirect न करें। यह users और search engines दोनों के लिए confusing है। यदि relevant replacement है, redirect करें। यदि नहीं, तो 404 return करें और humans के लिए useful error page दें।

410 Gone: 404 से stronger, लेकिन सावधानी से use करें

410 Gone का अर्थ है कि resource जानबूझकर gone है और उसके return होने की अपेक्षा नहीं है।

SEO के लिए, 410 उपयोगी हो सकता है जब आप URLs को अधिक decisively remove करना चाहते हैं:

  • expired legal pages
  • removed user profiles
  • deleted spam pages
  • बिना replacement वाले obsolete landing pages

Search engines 410 को 404 से stronger removal signal मान सकते हैं। Practical difference अक्सर speed होता है, outcome नहीं। Persistent 404 और 410 responses दोनों deindexing तक ले जा सकते हैं।

410 तब use करें जब आपको भरोसा हो कि page permanently gone है। यदि page return कर सकता है, तो 404 या temporary handling safer हो सकती है।

401, 403, और blocked access

401 Unauthorized का अर्थ है कि authentication required है। 403 Forbidden का अर्थ है कि server ने request समझी, लेकिन access देने से refuses करता है।

SEO के लिए, ये codes आम तौर पर protected content की normal crawling और indexing रोकते हैं। Private dashboards, account areas, staging systems, और paid content जिसे publicly index नहीं होना चाहिए, उनके लिए यह ठीक है।

Problems तब आती हैं जब public pages गलती से crawlers को 401 या 403 return करते हैं, जैसे:

  • bot protection rules
  • misconfigured firewalls
  • country blocking
  • CDN rules
  • expired authentication assumptions
  • staging restrictions carried into production

Logged in होने पर जो page आपके लिए काम करता है, वह crawler के लिए काम न करे। हमेशा unauthenticated client के रूप में test करें।

429 Too Many Requests: consequences के साथ crawl control

429 Too Many Requests clients को बताता है कि उन्हें rate-limited किया जा रहा है। जब bots सच में आपके infrastructure को overwhelm कर रहे हों, तब यह appropriate हो सकता है।

हालाँकि, 429 का casual उपयोग crawl activity घटा सकता है। यदि search engines बार-बार rate limiting encounter करते हैं, तो वे requests slow down कर सकते हैं। इससे new या updated content की discovery delay हो सकती है।

यदि आपको rate limiting चाहिए, तो precise रहें। Major search crawlers को accident से block करने से बचें। Aggressive scraping और legitimate crawling में अंतर करने के लिए server logs use करें। यदि संभव हो, तो Retry-After header return करें ताकि well-behaved clients जान सकें कि कब वापस आना है।

500, 502, 503, और 504: reliability signals

5xx family का अर्थ है कि server valid request fulfill करने में fail हुआ।

Common examples:

  • 500 Internal Server Error
  • 502 Bad Gateway
  • 503 Service Unavailable
  • 504 Gateway Timeout

Occasional 5xx responses होते हैं। Short deploy issue आम तौर पर catastrophic नहीं होता। Persistent 5xx errors अलग हैं। वे crawlers को बताते हैं कि आपकी site unreliable है, और यदि search engines प्रभावित pages को बार-बार fetch नहीं कर पाते, तो वे crawl rate घटा सकते हैं या pages को temporarily drop कर सकते हैं।

Planned maintenance के लिए 503 Service Unavailable सही code है, खासकर Retry-After header के साथ। यह कहता है, “यह temporary है; बाद में वापस आएँ।” Maintenance page के लिए 200 return करना worse है क्योंकि crawlers maintenance content को page content की तरह treat कर सकते हैं।

यदि outage important URLs को affect करता है, तो recovery monitor करें। सुनिश्चित करें कि original pages फिर से 200 return करें, cached error pages, redirect loops, या temporary maintenance templates नहीं।

Redirect chains और loops पर खास ध्यान दें

Redirects normal हैं। Redirect chains avoidable debt हैं।

Old URL से new URL तक simple redirect ठीक है। पाँच redirects की chain latency बढ़ाती है, crawl budget waste करती है, और request fail होने के लिए अधिक जगहें बनाती है। Loop worse है: client कभी final page तक नहीं पहुँचता।

SEO migrations के लिए, redirect map रखें और launch से पहले test करें। हर retired URL ideally एक hop में अपनी final destination पर resolve होना चाहिए। Launch के बाद, old URLs, high-traffic URLs, और backlink-heavy URLs के samples test करें।

यही वह जगह भी है जहाँ performance और SEO overlap करते हैं। Redirects real page load की शुरुआत delay करते हैं। यदि आप crawlability के साथ user experience review कर रहे हैं, तो बिना panic किए Lighthouse report पढ़ना serious load issues को noisy diagnostics से अलग करने में मदद कर सकता है।

Practical priority list

यदि आप status codes audit कर रहे हैं, तो हर warning को बराबर न मानें। यहाँ से शुरू करें:

  1. Important URLs returning 5xx — पहले server reliability fix करें।
  2. Indexable pages returning the wrong status — intended 200 responses restore करें।
  3. Redirect chains and loops — one-hop redirects तक simplify करें।
  4. Sitemap URLs returning non-200 responses — sitemaps clean रखें।
  5. Internal links to 404s — navigation और content links repair करें।
  6. Soft 404 patterns — empty या deleted pages के लिए 200 return करना बंद करें।
  7. Accidental crawler blocking — unexpected 401, 403, और 429 responses investigate करें।

Goal zero 404s वाली site नहीं है। यह unrealistic और अक्सर unnecessary है। Goal ऐसी site है जहाँ हर URL truthful, consistent response देता है।

<!-- tool-cta:start -->

💡 इसे आज़माएँ: Redirect Checker से जाँचें कि आपके URL वास्तव में कौन से स्टेटस कोड लौटाते हैं, जो क्रॉलर द्वारा देखी जाने वाली पूरी श्रृंखला दिखाता है।

<!-- tool-cta:end -->

सही code चुनने का simple rule

जब doubt हो, user-facing truth से match करने वाला code चुनें:

  • Page exists करता है और available होना चाहिए: 200
  • Page permanently moved: 301 या 308
  • Page temporarily moved: 302 या 307
  • Page अब exist नहीं करता और replacement नहीं है: 404
  • Page intentionally gone forever है: 410
  • Page temporarily unavailable है: 503
  • Request blocked या private है: 401 या 403

Search engines ordinary web messiness handle करने में अच्छे हैं। SEO trouble की वजह scale पर inconsistency होती है: permanent moves को temporary mark करना, deleted pages का valid होने का दिखावा करना, server errors को unresolved छोड़ना, और redirect logic जिसे last migration के बाद किसी ने test नहीं किया।

HTTP status codes magic SEO levers नहीं हैं। वे basic web semantics हैं। उन्हें honestly use करें, और SEO benefit का अधिकांश हिस्सा अपने आप आ जाएगा।

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

क्या 404 SEO के लिए bad है?
अपने आप नहीं। 404 उस page के लिए सही response है जो अब मौजूद नहीं है और जिसका कोई replacement नहीं है। यह SEO issue तब बनता है जब important pages, sitemap URLs, या internally linked URLs unexpectedly 404 return करते हैं।
SEO के लिए मुझे 301 या 302 redirects use करने चाहिए?
जब move permanent हो तो 301 या 308 use करें। जब move temporary हो तो 302 या 307 use करें। Search engines long-lived temporary redirects को interpret कर सकते हैं, लेकिन उस पर rely करना correct signal भेजने जितना clear नहीं है।
क्या 5xx errors rankings को नुकसान पहुँचाते हैं?
Short-lived 5xx errors आम तौर पर disaster नहीं होते। Persistent server errors crawl rate घटा सकते हैं, indexing delay कर सकते हैं, और यदि search engines समय के साथ pages access नहीं कर पाते तो pages temporarily drop हो सकते हैं।
Soft 404 क्या है?
Soft 404 तब होता है जब कोई URL 200 OK return करता है लेकिन content missing, empty, या useless page जैसा दिखता है। Search engines इसे 404 की तरह treat कर सकते हैं, भले ही server कहता हो कि request सफल हुई।
क्या deleted pages को homepage पर redirect करना चाहिए?
आम तौर पर नहीं। Deleted pages को केवल तभी redirect करें जब कोई genuinely relevant replacement हो। यदि कोई useful equivalent नहीं है, तो 404 या 410 return करें और users के लिए helpful error page दें।

स्रोत और आगे की पढ़ाई

  1. Google Search Central: HTTP status codes and network errors
  2. MDN Web Docs: HTTP response status codes
  3. RFC 9110: HTTP Semantics
  4. Google Search Central: Redirects and Google Search
लेखक के बारे में
The Wux Webtools Team

अंतिम अद्यतन:

पढ़ते रहें

SEO & Discoverability

कौन-से schema.org प्रकार वास्तव में खोज परिणामों को प्रभावित करते हैं

हर schema.org प्रकार खोज को प्रभावित नहीं करता। यहाँ वे संरचित डेटा प्रकार हैं जिनसे आपकी खोज उपस्थिति बदलने की संभावना सबसे अधिक होती है।

2 मिनट पढ़ें