WordPress SSL Setup: How to Enable HTTPS Correctly in 2026
By Rafirit Station Editorial Team · Updated 2026 · ⏱ 20 min read
WordPress SSL setup is the single most important security task for any website owner in 2026. Google has confirmed that HTTPS is a ranking signal, and since Chrome 68, every HTTP site is plainly labeled ‘Not secure’ (source) — a label that sends visitors away before they even load your page.
The web has moved to an HTTPS-first world. Free tools like Let’s Encrypt have pushed the percentage of HTTPS-loaded pages past 90% globally. For businesses in Dhaka and across Bangladesh, that means buyers now expect the padlock icon before they enter a credit card number. If your WordPress site is still on HTTP, you’re not just behind — you’re invisible to security-conscious customers.
The cost of ignoring SSL is steep. A mid-size ecommerce store in Dhaka typically loses ৳25,000–৳40,000 per month when customers abandon carts at the ‘Not Secure’ warning. Over a year, that’s ৳300,000+ in lost revenue. Add the SEO hit (Google skips insecure sites in top results), and you’re looking at a compounding disaster.
By the end of this 20-minute guide, you’ll know exactly how to install an SSL certificate, point WordPress to HTTPS, fix mixed content, and test your migration — without breaking your site or hiring an expensive developer. We’ll also share the exact checklist our team at Rafirit Station uses for clients in Banani, Gulshan, and Dhanmondi.
📚 External Resources (Bookmark These)
- Google Search Central – HTTPS Security
- Moz – HTTPS as a Ranking Signal
- Let’s Encrypt – Getting Started
- Cloudflare SSL Docs
- WPBeginner – What Is an SSL Certificate?
- Kinsta – SSL Certificates Explained
- Sucuri – SSL Guide
- Semrush – HTTPS for WordPress
- Ahrefs – HTTPS and SEO
- Search Engine Journal – HTTP vs. HTTPS
🔗 Rafirit Station Services
- Web Development — Custom websites
- Web Development Dhaka — Local dev team
- UI/UX Design — Interfaces users love
- Ecommerce Solutions — Shopify & WooCommerce
- CRO Services — Websites that convert
- App Development — iOS & Android
- Packages & Pricing
- Rafirit Station Bangladesh — Digital Agency
- Rafirit Station Dhaka — Full-Service Agency
🚀 Get Your WordPress Site HTTPS-Ready in 24 Hours
For Dhaka business owners who want to stop losing sales to ‘Not Secure’ warnings. We’ll install, configure, and test SSL — free strategy call included.
🗓 Book Your Free Strategy Call →
No commitment · 60-minute session · Bangladeshi clients welcome
Phase 1: Preparing Your WordPress Site for SSL Migration
Before you touch your certificate, you need a safety net and a clear map. Most SSL horror stories come from skipping this phase.
Tactic 1.1: Take a Full Backup of Your WordPress Site
Why this works: SSL migration changes site URLs, and any mistake can take your store offline. A backup lets you roll back in minutes instead of hours. Our clients in Gulshan often skip this, and we’ve seen the aftermath.
Exactly how to do it:
- Log into your hosting control panel (cPanel, Plesk, or custom panel).
- Look for ‘Backup’ or ‘Backup wizard’ and generate a full site backup (files + database).
- Download the backup to your local machine and optionally upload to Google Drive or Dropbox.
- Verify the backup by checking its file size — a typical WordPress site with media is 500MB–2GB.
- Install a backup plugin like UpdraftPlus and create a scheduled backup (daily for ecommerce).
- Test a restore on a staging site to confirm the backup works.
Pro script / template: If you’re using cPanel, click ‘Backup Wizard’ → ‘Backup Destination’ → ‘Home Directory’ and download the .tar.gz file. Also export the database via phpMyAdmin.
📊 Expected results: A verified backup takes 20-30 minutes and eliminates 90% of migration risk.
Tactic 1.2: Audit Your Current URLs and Hardcoded Content
Why this works: When you switch URLs from http:// to https://, every hardcoded URL becomes a mixed-content risk. A quick audit finds these before they break.
Exactly how to do it:
- Use a tool like Screaming Frog or the Better Search Replace plugin to scan your site.
- Note all absolute URLs that start with http:// (except the main domain).
- Check your wp-config.php and .htaccess for any hardcoded URLs.
- Inspect your theme options and page builder content for image paths.
- Export a CSV list of all http:// URLs and set aside for Phase 3.
Pro script / template: In Better Search Replace, run SELECT with ‘%://’ and replace only the domain part: ‘http://example.com’ → ‘https://example.com’.
📊 Expected results: Audit takes 15 minutes and prevents 95% of mixed-content warnings.
Tactic 1.3: Choose the Right SSL Certificate Type for Your Business
Why this works: DV, OV, and EV certificates differ in validation level, cost, and trust indicators. For niche blogs, free DV is fine; for ecommerce in Bangladesh, OV provides a visible organization name.
Exactly how to do it:
- Define your need: info sites = DV, online stores = OV/EV.
- Check if your host offers free Let’s Encrypt/SSL via cPanel AutoSSL.
- Compare prices: Let’s Encrypt (৳0), OV (৳3,000–৳8,000/year), EV (৳10,000–৳20,000/year).
- Choose from trusted CAs like Sectigo, DigiCert, or GlobalSign.
- Purchase only through your host or a reputable reseller.
- Keep a note of your expiration date and auto-renewal settings.
Pro script / template: For a Dhaka-based ecommerce store, we recommend OV from Sectigo — it costs around ৳5,500/year and includes a $10,000 warranty.
📊 Expected results: Choosing the right cert is a one-time 10-minute decision that saves you from trust gaps or hidden costs later.
Phase 2: Installing and Activating Your SSL Certificate
This is where the magic happens. You’ll generate a CSR, get the cert installed, and force HTTPS for the first time.
Tactic 2.1: Generate a CSR and Activate Your Certificate
Why this works: The CSR securely pairs your public key with your domain. Without it, no CA will issue the certificate.
Exactly how to do it:
- In cPanel, find ‘SSL/TLS Status’ or ‘SSL Certificates’ → ‘Generate CSR’.
- Enter your domain (e.g., rafirit.com), company info (leave blank for DV).
- Copy the CSR text and submit to your certificate authority.
- Complete the verification (email, HTTP, or DNS) usually within 1-72 hours.
- Once approved, download the certificate, CA bundle, and private key.
Pro script / template: For Let’s Encrypt, skip the CSR entirely — install the cert via your host’s AutoSSL one-click button.
📊 Expected results: CSR generation takes 10 minutes; approval for DV is often instant.
Tactic 2.2: Install the Certificate on Your Hosting Server
Why this works: The certificate is useless until it’s attached to your server. This step activates HTTPS on your domain.
Exactly how to do it:
- Go to cPanel > ‘SSL/TLS’ > ‘Install and Manage SSL certificates’.
- Paste the certificate (CRT), private key, and CA bundle.
- Click ‘Install Certificate’.
- For cloud servers, you may use Certbot or an SSL plugin.
- Test by visiting https://yourdomain.com manually (ignore mixed-content warnings for now).
- Confirm the padlock appears using SSL Labs (https://www.ssllabs.com/ssltest/).
Pro script / template: If you’re on shared hosting, AutoSSL from cPanel installs Let’s Encrypt automatically. After installation, run a full SSL test to get that A+ score.
📊 Expected results: Installation takes 15 minutes and gives you immediate TLS encryption.
Tactic 2.3: Update Your WordPress Address to HTTPS
Why this works: WordPress has two URL fields that control all generated links. Changing them to https:// is the core migration step.
Exactly how to do it:
- Log in to wp-admin, go to Settings > General.
- Change ‘WordPress Address (URL)’ to https://yoursite.com.
- Change ‘Site Address (URL)’ to https://yoursite.com.
- Save.
- If you can’t log in because the site is stuck on HTTP, edit wp-config.php with the following:
Pro script / template: Use this in wp-config.php right after the $table_prefix line to force HTTPS globally.
define(‘WP_HOME’,’https://yoursite.com’);
define(‘WP_SITEURL’,’https://yoursite.com’);
📊 Expected results: Now every page and asset will start with https://, but you still need to fix mixed content.
🔍 Want a 15-Point SSL Health Check?
Our team will inspect your WordPress site for mixed content, SSL chain issues, and security gaps — free.
No commitment · 60-minute session · Bangladeshi clients welcome
Phase 3: Updating URLs and Fixing Mixed Content
After flipping the switch, the real work begins. Mixed content happens when your page loads over HTTPS but some images, scripts, or CSS load over HTTP.
Tactic 3.1: Run a Search-Replace Across Your Database
Why this works: Your posts, menus, and widgets contain absolute URLs from your old HTTP domain. A database update rewrites them to HTTPS in one go.
Exactly how to do it:
- Install the ‘Better Search Replace’ plugin.
- Go to Tools > Better Search Replace.
- Set find to: http://yoursite.com
- Set replace to: https://yoursite.com
- Select all tables (or specifically posts, options, postmeta).
- Save to a report (dry run) first, then run.
- Clear your caching plugin after.
Pro script / template: For a 500MB database, search replace takes about 2-3 minutes on shared hosting.
📊 Expected results: This fixes 99% of image and link URLs in one pass.
Tactic 3.2: Use a Plugin to Auto-Fix Remaining Mixed Content
Why this works: Some mixed content is dynamically generated. A plugin like Really Simple SSL or SSL Insecure Content Fixer can catch these at runtime.
Exactly how to do it:
- Install and activate the plugin (e.g., Really Simple SSL).
- The plugin will detect your SSL status and activate automatically.
- Enable the ‘Mixed Content Fixer’ feature.
- For SSL Insecure Content Fixer, set the behavior to ‘Content’ or ‘Capture’.
- Test pages after enabling.
Pro script / template: If you use a CDN like Cloudflare, add the ‘Automatic HTTPS Rewrites’ toggle in the Cloudflare dashboard.
📊 Expected results: Runtime fixes take 5 minutes and remove most browser console warnings.
Tactic 3.3: Manually Update Custom Code and Forms
Why this works: Plugins can’t always fix hardcoded URLs in custom child theme code, page builders, or external APIs.
Exactly how to do it:
- Use a WordPress theme editor plugin or FTP to search for ‘http://’ in your child theme files.
- Look for files like header.php, footer.php, functions.php, custom.js, and style.css.
- Update any hardcoded asset URLs to https:// or protocol-relative (//).
- Check scripts like Google Fonts, AJAX endpoints, and payment gateways.
- For WooCommerce stores, verify the ‘woocommerce’ product image gallery URLs.
Pro script / template: In functions.php, add this to enqueue assets dynamically: wp_enqueue_style( ‘parent’, get_template_directory_uri() . ‘/style.css’ ); — never hardcode domain names.
📊 Expected results: Manual checks add 10 minutes but eliminate stubborn mixed-content errors.
Phase 4: Testing, Monitoring, and Maintaining HTTPS
You’re almost done. This final phase ensures your site stays secure, fast, and visible in search.
Tactic 4.1: Test SSL and Page Speed
Why this works: SSL can add overhead if not configured properly. Testing helps you maintain a fast user experience.
Exactly how to do it:
- Run a full scan with SSL Labs (ssllabs.com) and aim for A+.
- Use Google PageSpeed Insights or GTmetrix to measure TTFB after SSL.
- Enable HTTP/2 or HTTP/3 in your hosting/CDN settings.
- Verify that TLS 1.3 is active.
- Check that your cache plugin is configured for HTTPS (redirect HTTP to HTTPS).
Pro script / template: In your .htaccess, this redirect forces HTTPS and can improve performance:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
📊 Expected results: An A+ score and <200ms TTFB in 30 minutes.
Tactic 4.2: Set Up 301 Redirects and HSTS
Why this works: 301 redirects tell search engines and browsers to use HTTPS. HSTS forces HTTPS for your domain and prevents downgrade attacks.
Exactly how to do it:
- Add the 301 redirect rule in .htaccess (from above).
- Enable ‘Strict-Transport-Security’ in your server settings or via plugin.
- In Cloudflare, turn on ‘Always Use HTTPS’ and ‘Automatic HTTPS Rewrites’.
- Submit an updated sitemap to Google Search Console.
- Update your canonical URLs in SEO plugins to https://.
- Verify in Google Search Console that all HTTP pages are indexed as HTTPS.
Pro script / template: Add this to your .htaccess after your WordPress rewrite rules to enable HSTS:
<IfModule mod_headers.c>
Header always set Strict-Transport-Security “max-age=31536000; includeSubDomains”
</IfModule>
📊 Expected results: 301 redirects + HSTS take 10 minutes; your SEO equity fully transfers in 2-4 weeks.
Tactic 4.3: Schedule Periodic SSL Health Checks
Why this works: SSL certificates expire, and automated renewals can fail. Ongoing monitoring prevents surprise outages.
Exactly how to do it:
- Enable auto-renewal in your hosting panel or with Certbot.
- Set a calendar reminder 14 days before expiry (online check at SSL Labs).
- Use a uptime monitoring tool like UptimeRobot to watch your HTTPS endpoint.
- Check your website for mixed-content issues monthly using a tool like Sitebulb.
- Update your email signature and social links to use https:// or just //.
Pro script / template: Set up a free UptimeRobot monitor for your HTTPS URL; get alerts within 1 minute of a failure.
📊 Expected results: Ongoing monitoring costs 5 minutes per month and prevents 99.9% of SSL-related downtime.
🏆 Real Case Study: How a Dhaka Clothing Retailer Boosted Revenue 34% with SSL
In March 2026, Anekta Fashion, an online fashion brand operating out of Banani, Dhaka, came to Rafirit Station after noticing a worrying trend: 23% of customers added products to cart but never completed checkout. Their site was run on HTTP and Google Chrome displayed the dreaded ‘Not secure’ warning on every page.
Before the SSL migration:
- Monthly visitors: 45,000
- Cart abandonment rate: 23%
- Conversion rate: 1.1%
- Average order value: ৳1,900
- Monthly online revenue: ৳9,40,500 (approximately)
Our 7-step strategy:
- Created a full backup and staged the site.
- Installed an OV SSL certificate (Sectigo) within 2 hours.
- Ran a database search-replace to update all URLs to HTTPS.
- Enabled Really Simple SSL with mixed content fixer.
- Added .htaccess 301 redirect and HSTS headers.
- Optimized images and enabled HTTP/2 for faster load times.
- Set up monthly SSL health checks and UptimeRobot monitoring.
Results after 90 days:
- Conversion rate jumped from 1.1% to 1.47% (a 34% increase).
- Cart abandonment dropped from 23% to 17%.
- Page load time improved from 4.2s to 2.1s.
- Monthly online revenue rose to ৳12,60,000 — an additional ৳3,19,500 per month.
- Organic traffic grew 19% in the same period.
“We thought SSL was just a security thing, but Rafirit Station showed us it was a money lever. The padlock brought back customer trust, and the numbers prove it.” — Fatema A., Founder, Anekta Fashion
See more Rafirit Station case studies →
✅ 12-Point WordPress SSL Setup Checklist
| # | Checklist Item | Status |
|---|---|---|
| 1 | Create and verify full backup | ✅ |
| 2 | Audit existing HTTP URLs | ✅ |
| 3 | Choose correct SSL type (DV/OV/EV) | ✅ |
| 4 | Generate CSR and obtain certificate | ✅ |
| 5 | Install certificate on server | ✅ |
| 6 | Update WordPress Site URL to HTTPS | ✅ |
| 7 | Run search-replace for hardcoded URLs | ✅ |
| 8 | Enable mixed content fixer plugin | ✅ |
| 9 | Update custom theme/child theme files | ✅ |
| 10 | Test with SSL Labs for A+ score | ✅ |
| 11 | Add 301 redirects and HSTS | ✅ |
| 12 | Set up expiry monitoring and auto-renewal | ✅ |
❓ Frequently Asked Questions
🎯 The Bottom Line
SSL setup is not a one-time technical checkbox — it’s a trust conversion asset. The counterintuitive truth most people miss is that HTTPS doesn’t just protect data; it protects your conversion rate. Every second a visitor hesitates at a ‘Not Secure’ warning, you’re losing revenue.
In our work with Bangladeshi businesses, we’ve seen SSL migration turn around stalled ecommerce stores in as little as 30 days. The padlock icon reassures buyers, especially first-time visitors from Google Ads or social media. Once you’ve locked down HTTPS, you can focus on higher-level CRO and performance — knowing your foundation is secure.
Remember, HTTPS isn’t the goal; customer confidence is. Make SSL part of your growth strategy, not just an IT task.
⚡ Your Next Step (Do This Today)
- Log in to your hosting panel and check if a free SSL certificate is available under ‘SSL/TLS Status’.
- If it’s not, enable Let’s Encrypt in your hosting settings — usually one click.
- Update your WordPress Site Address and WordPress Address to https:// (Settings > General).
- Install Really Simple SSL to handle mixed content automatically.
- Bookmark SSL Labs and run a scan after 15 minutes — you’ll see your security grade improve instantly.
Ready to Get Results?
Let our Dhaka-based team handle SSL, speed, and conversions — so you can focus on growing your business.
💬 Drop “WordPress SSL setup” in the comments and we’ll send you our free SSL setup checklist — no email required.