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.
HTTPS certificates
How to fix WordPress SSL certificate errors
Fix WordPress SSL certificate errors by checking the warning, domain and renewal. Verify the hosting certificate and Cloudflare connection settings.
Mixed content
How to fix WordPress mixed content warnings
Fix WordPress mixed content warnings by finding the insecure image or script, correcting its saved URL and checking Elementor, caches and the browser console.
HTTPS redirects
How to force an HTTPS redirect on WordPress
Force HTTPS on WordPress using a hosting or Cloudflare setting. Check the certificate first, preserve page URLs and resolve redirect loops without guessing.
Login recovery
How to fix a WordPress login redirect loop
Fix a WordPress login redirect loop by checking cookies, the login address, caching and recent changes. Recover access without replacing unrelated settings.
Login security
How to change WordPress salts and security keys
Change WordPress salts and security keys in wp-config.php, safely replace all eight values and verify that existing login cookies are invalidated.
Remote access
How to disable WordPress XML-RPC
Disable WordPress XML-RPC after checking connected services. Block access through hosting or Apache, then verify requests and essential integrations.
File access
How to fix WordPress file permissions
Fix WordPress file permissions by identifying the failing folder, checking the host's required values and verifying uploads or updates after a targeted repair.
Malware recovery
How to remove WordPress malware manually
Remove WordPress malware manually with a careful recovery plan: contain the site, preserve evidence, replace affected files and check for remaining access.
Account security
How to enable WordPress two-factor authentication
Enable WordPress two-factor authentication with an authenticator app, save recovery codes and test your login before helping other users protect their accounts.
Configuration security
How to secure wp-config.php in WordPress
Secure wp-config.php by removing public backup copies, confirming file access with your host and checking that configuration secrets cannot be downloaded.
Keep troubleshooting
More WordPress how-to guides
Move to another topic when the evidence points beyond this part of WordPress. Each guide keeps the diagnosis focused and the next step reversible.
- Errors WordPress error troubleshooting Critical errors, white screens, database failures, and recovery steps.
- Plugins WordPress plugin tutorials Install, update, deactivate, and roll back plugins and themes safely.
- Administration WordPress administration guides Backups, migrations, user roles, and safe config changes.
- WooCommerce WooCommerce troubleshooting guides Checkout, payments, shipping, and shop issues that stop orders.
- Performance WordPress performance guides Caching, images, database bloat, and slow admin fixes.
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?
A valid certificate helps the browser verify the website and establish an encrypted HTTPS connection. It does not remove malware or repair vulnerable plugins. Use the certificate guide for connection warnings and investigate any separate security incident on its own evidence.
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?
Verify that the certificate works first, then use the supported hosting or proxy setting described in the HTTPS redirect guide. Record existing settings and test full page addresses, login and checkout. For a proxy such as Cloudflare, check the connection to the host as well as the browser connection.
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?
Check which connected services require it before blocking access. The XML-RPC guide explains a full endpoint block and why some plugin restrictions cover only authenticated methods. Test the required integrations after any 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?
Protection depends on which users enrol and which login routes the chosen plugin covers. Our two-factor guide covers individual accounts and recovery tests. Hosting, email and integration credentials need their own access review; installing a plugin alone does not protect them.
Can WordPress malware be removed manually?
Manual recovery involves more than removing a visible redirect. Start with hosting containment and a private evidence copy, then follow the malware recovery guide. Unknown code and database findings need qualified review, and a scan with no findings does not establish safety.
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.
Explore support options