New 24/7 monitoring and daily cloud backups now included in every Shield Pro plan.

Security

Practical WordPress security guides.

Fix certificate warnings and mixed content, move WordPress to HTTPS safely, and strengthen the settings that protect logins and site files.

Tutorials

Guides in this topic

Security and SSL faults can span WordPress, hosting, DNS and a proxy or CDN. Start with the guide that matches the visible warning, preserve a current backup, and verify each change before moving to the next layer.

SSL

How to fix WordPress SSL certificate errors

Fix WordPress SSL certificate errors: renew certs, correct siteurl/home, force HTTPS, fix mixed content, and align Cloudflare SSL modes with your host.

30-60 minutes Intermediate
Read tutorial

Mixed content

How to fix WordPress mixed content warnings

Fix WordPress mixed content warnings: find http assets on https pages, search-replace database URLs, update hardcoded links, and clear CDN cache.

30-60 minutes Intermediate
Read tutorial

HTTPS

How to force HTTPS redirect on WordPress

Force HTTPS on WordPress: set siteurl to https, add Apache or nginx redirects, fix Cloudflare SSL modes, and avoid login redirect loops.

20-40 minutes Intermediate
Read tutorial

Login loop

How to fix a WordPress login redirect loop

Fix WordPress login redirect loops: correct siteurl/home, HTTPS and cookies, clear browser cookies, and resolve plugin conflicts on wp-login.

20-40 minutes Intermediate
Read tutorial

Salts

How to change WordPress salts and security keys

Change WordPress salts and security keys in wp-config.php after a hack: generate new keys, invalidate sessions, and recover admin access safely.

10-20 minutes Beginner
Read tutorial

XML-RPC

How to disable WordPress XML-RPC

Disable WordPress XML-RPC safely: block pingback attacks, turn off xmlrpc.php via .htaccess or plugins, and keep Jetpack or mobile apps working if needed.

10-20 minutes Beginner
Read tutorial

Permissions

How to fix WordPress file permissions

Fix WordPress file permissions on Linux hosting: set 755 for directories and 644 for files, secure wp-config.php, and fix uploads folder write errors safely.

15-30 minutes Beginner
Read tutorial

Malware

How to remove WordPress malware manually

Remove WordPress malware manually: find bad PHP in wp-content, clean .htaccess, scan the database for spam links, and harden after cleanup.

60-120 minutes Advanced
Read tutorial

2FA

How to enable WordPress two-factor authentication

Enable two-factor authentication on WordPress: protect admin accounts with TOTP apps, enforce 2FA for editors, and recover access if you lose your phone.

15-30 minutes Beginner
Read tutorial

wp-config

How to secure wp-config.php

Secure wp-config.php: move it above web root, set DISALLOW_FILE_EDIT, block direct access, tighten permissions, and add security constants.

20-40 minutes Intermediate
Read tutorial

Questions answered

WordPress security and SSL FAQs

Straightforward guidance on HTTPS, login protection, file permissions and the first steps to take after a suspected compromise.

What are the first steps for improving WordPress security?

Keep WordPress, plugins and themes supported and current, use unique administrator accounts with strong passwords and two-factor authentication, maintain off-site backups, and remove unused extensions. Confirm that HTTPS works before tightening redirects or login rules.

Is an SSL certificate the same as WordPress security?

No. An SSL certificate encrypts traffic between the browser and website, but it does not stop vulnerable plugins, stolen passwords, malware or unsafe file permissions. HTTPS is one layer of a wider WordPress security plan.

Why does WordPress show a mixed content warning?

The page is loaded over HTTPS but still requests one or more images, scripts, stylesheets or other resources over HTTP. Find the insecure URL, update the source safely and clear every relevant cache before testing again.

How should I redirect WordPress from HTTP to HTTPS?

Install and verify the certificate first, update the WordPress Address and Site Address, replace internal HTTP URLs carefully, then add one redirect at the server or proxy layer. Test wp-admin, forms, checkout and scheduled callbacks afterwards.

What happens when I change WordPress salts and security keys?

Changing salts invalidates existing login cookies, so users must sign in again. It is a useful response to suspected session theft, but it does not remove malware or reset account passwords.

Should I disable XML-RPC in WordPress?

Only if the site does not rely on services that use it, such as some remote publishing, mobile or integration features. Restricting or disabling unused access can reduce exposure, but test connected services after the change.

What file permissions should WordPress use?

The correct permissions depend on the server and ownership model. Files commonly use 644 and directories 755, but copying values blindly can break updates or weaken security. Confirm the hosting provider's recommended ownership and permissions first.

Does two-factor authentication protect every WordPress login?

It greatly reduces the risk from a stolen password, but administrator accounts, application passwords, hosting, SFTP and database access still need separate protection. Keep recovery codes somewhere secure and test the recovery route.

Can WordPress malware be removed manually?

It can, but deleting the visible file is rarely enough. A proper cleanup identifies the entry point, removes persistence, replaces altered core files, checks users and scheduled tasks, rotates credentials, patches the cause and monitors for reinfection.

When does a WordPress security issue need professional help?

Get help when the site is compromised, customer data may be involved, clean files return, administrator access is lost or HTTPS changes affect checkout and integrations. Preserve logs and backups rather than repeatedly deleting evidence.

Need help securing or recovering WordPress?

Describe the warning or suspicious behaviour. A BugShield developer can inspect the fault and agree the repair before work begins.

Request a Fix