HTTP से HTTPS में migrate करना सिर्फ certificate install करने से ज़्यादा है। आपको redirects update करने, internal links fix करने, mixed content handle करने, external services update करने, और verify करने की need है कि search engines change को recognize करते हैं। यह guide हर step को cover करती है।
अभी migrate क्यों करें? October 2026 में, Chrome default रूप से HTTPS-First enable करता है — HTTP sites full-page warning दिखाएंगी। 86.9% websites पहले से HTTPS use कर रही हैं। अगर आप अभी भी HTTP पर हैं, तो आप shrinking minority में हैं।
Complete Migration Checklist
Step 1: Certificate Get करें और Install करें
- 1. Free certificate get करें GetHTTPS से (5 minutes, कोई install नहीं)
- 2. अपने server पर install करें — Nginx | Apache | cPanel | WordPress | IIS
- 3. HTTPS काम करता है verify करें —
https://yourdomain.comपर जाएं, padlock check करें
Step 2: Redirects और Content
- 4. सभी HTTP URLs से HTTPS पर 301 redirects set करें
- 5. Mixed content fix करें — सभी
http://resource URLs कोhttps://या relative paths में update करें - 6. Internal links update करें —
http://yourdomain.com/pageकोhttps://या/page(relative) में change करें - 7. Canonical tags update करें —
<link rel="canonical" href="https://yourdomain.com/page"> - 8. Sitemap update करें —
https://URLs के साथ regenerate करें
Step 3: External Services
- 9. Google Search Console —
https://property add करें, updated sitemap submit करें - 10. Google Analytics — Settings → Property → Default URL →
https://में change करें - 11. Social media profiles — Twitter, LinkedIn, Facebook etc. पर website URL update करें
- 12. Email signatures और templates — links
https://में update करें - 13. Third-party integrations — webhook URLs, API callbacks, CDN origin settings
Step 4: Strengthen और Verify करें
- 14. HSTS enable करें —
max-age=300(5 minutes) से start करें, verification के बाद बढ़ाएं - 15. SSL Labs से test करें — Grade A का target रखें
Common Mistakes
Redirect Loop
अगर आपका HTTPS config भी HTTPS पर redirect करता है, तो आपको infinite loop मिलता है। Ensure करें कि सिर्फ HTTP server block (port 80) redirect करता है — HTTPS block (port 443) normally content serve करता है।
Proxy (Cloudflare, AWS ALB) के behind: proxy आपके server को HTTP भेजता है। Connection protocol के बजाय X-Forwarded-Proto check करें। Details —>
Temporarily SEO Ranking खोना
Normal है। Google को नए URLs पर आपके pages को re-crawl और re-index करने की need है। 301 redirects link equity transfer करते हैं। ज्यादातर sites 2-4 weeks में ranking stabilize होते देखती हैं। SSL और SEO —>
Database में Hardcoded HTTP URLs
WordPress जैसे CMS database में full URLs store करते हैं। Redirect page URL handle करता है, लेकिन आपकी content में <img src="http://..."> mixed content cause करता है। Search-replace run करें:
# WordPress (WP-CLI)
wp search-replace 'http://yourdomain.com' 'https://yourdomain.com' --all-tables
Subdomains भूलना
अगर आप example.com redirect करते हैं लेकिन blog.example.com नहीं, तो वह subdomain अभी भी HTTP serve करता है। सभी subdomains check करें। Wildcard certificate consider करें।
Third-party Scripts अभी भी HTTP पर
Ad networks, analytics, chat widgets, embedded maps — check करें कि सभी third-party scripts https:// use करती हैं। ज्यादातर modern services HTTPS support करती हैं। अगर कोई नहीं करती, तो alternative find करें।
Migration के बाद Verification
# Check redirect works
curl -I http://yourdomain.com
# Should show: 301 → https://yourdomain.com
# Check HTTPS works
curl -I https://yourdomain.com
# Should show: 200 OK
# Check for mixed content (quick scan)
curl -s https://yourdomain.com | grep -i 'http://' | grep -v 'https://'
Browser check: Chrome DevTools → Console में हर major page खोलें → mixed content warnings देखें।
SSL Labs: comprehensive grade के लिए ssllabs.com/ssltest।
FAQ
Migration में कितना time लगता है?
Simple sites: 30 minutes। WordPress: 1-2 hours। Complex integrations वाली बड़ी sites: 1-2 days। Certificate खुद 5 minutes लेता है (GetHTTPS) — बाकी links और services update करना है।
क्या मैं backlinks खो दूंगा?
नहीं, अगर आप 301 redirects use करते हैं। http://yourdomain.com/page से link करने वाली external sites https://yourdomain.com/page पर redirect follow करेंगी। Link equity 301 redirects के through transfer होती है।
क्या मुझे low traffic time में migrate करना चाहिए?
Certificate installation खुद zero downtime cause करता है (अगर आप restart नहीं, reload करते हैं)। लेकिन बाद में testing low traffic के दौरान easier है, ताकि आप peak hours से पहले mixed content issues catch कर सकें।
क्या मैं gradually (page by page) migrate कर सकता हूं?
Technically possible है लेकिन recommended नहीं है। यह एक confusing mixed HTTP/HTTPS state create करता है। सब कुछ एक साथ migrate करें — यह simpler है और Google इसे better तरीके से handle करता है।