Enabling SSL (Secure Sockets Layer) ensures that all traffic between your WordPress site and visitors is encrypted. This improves security, builds trust, and is essential for SEO. On ruachost.com, you can configure WordPress to always use SSL once you have a valid certificate installed.
Why Force SSL?
-
Protects sensitive data (logins, payments, personal info).
-
Prevents “Not Secure” browser warnings.
-
Improves search engine ranking.
-
Builds visitor confidence in your site.
Steps to Configure WordPress to Always Use SSL
Method 1: Update WordPress Settings
-
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
-
-
Click Save Changes.
-
Log back in using the secure URL.
Method 2: Update via phpMyAdmin (Advanced)
If you cannot access the WordPress dashboard:
-
Log in to cPanel (or your hosting panel).
-
Open phpMyAdmin.
-
Select your WordPress database.
-
Open the wp_options table.
-
Locate and edit the following rows:
-
siteurl→ set tohttps://yourdomain.com -
home→ set tohttps://yourdomain.com
-
-
Save changes.
Method 3: Force SSL with .htaccess
To ensure all traffic is redirected to HTTPS:
-
Connect to your site via FTP or File Manager.
-
Open the
.htaccessfile in your WordPress root directory. -
Add the following lines at the top:
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> -
Save the file.
-
Test your site → All requests should now redirect to HTTPS.
Important Notes
-
Ensure you have a valid SSL certificate installed before forcing HTTPS.
-
Incorrect settings may make your site inaccessible, always back up before changes.
-
Clear your browser cache and WordPress cache after enabling SSL.