Enabling HTTPS and SSL for WordPress sites
Securing your WordPress site with HTTPS and SSL ensures that all data exchanged between your visitors and your server is encrypted. On ruachost.com, enabling SSL is straightforward and highly recommended for security, trust, and SEO.
Why Enable HTTPS and SSL?
Section titled “Why Enable HTTPS and SSL?”- Encrypts communication between browser and server.
- Protects sensitive data (logins, payments, forms).
- Improves SEO rankings (Google favors HTTPS sites).
- Displays the padlock icon in browsers, boosting visitor trust.
Step 1: Obtain an SSL Certificate
Section titled “Step 1: Obtain an SSL Certificate”You need an SSL certificate before enabling HTTPS. Options include:
- Free SSL (Let’s Encrypt) → Available on most ruachost.com hosting plans.
- Commercial SSL → Purchased from providers like DigiCert or GeoTrust for advanced validation (EV, wildcard, multi‑domain).
Install the certificate via your hosting control panel (cPanel or Plesk).
Step 2: Enable HTTPS in WordPress
Section titled “Step 2: Enable HTTPS in WordPress”-
Log in to WordPress as an administrator.
-
Go to Settings → General.
-
Update both fields:
- WordPress Address (URL) →
https://yourdomain.com - Site Address (URL) →
https://yourdomain.com
- WordPress Address (URL) →
-
Save changes.
Step 3: Force HTTPS Redirects
Section titled “Step 3: Force HTTPS Redirects”To ensure all traffic uses HTTPS:
<IfModule mod_rewrite.c>RewriteEngine OnRewriteCond %{HTTPS} offRewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]</IfModule>- Add the following to your
.htaccessfile (for Apache servers): - Or configure redirects in cPanel.
- Alternatively, use the Really Simple SSL plugin to automate redirects.
Step 4: Test the Configuration
Section titled “Step 4: Test the Configuration”-
Visit your site at
https://yourdomain.com. -
Look for the padlock icon in the browser bar.
-
If missing, check for:
- Mixed content (HTTP resources on HTTPS pages).
- SSL misconfiguration (certificate mismatch).
Use Why No Padlock to troubleshoot.
Important Notes
Section titled “Important Notes”- Mixed content errors must be fixed by updating image, script, or CSS URLs to HTTPS.
- Some plugins may require reconfiguration after enabling SSL.
- Always back up your site before making changes.