Find answers to your questions

Documentation

Secure WordPress: HTTP headers, account protection and Imunify

Strengthening WordPress means coordinating website settings, account access and hosting protections. HTTP headers tell browsers how to handle your pages; controls on username discovery reduce some exposed information; Imunify provides another layer of monitoring and protection according to the active service. These tools complement updates, verified backups and unique passwords.

Identify what already protects your website

Before adding a plugin, list the existing tools: WordPress security, Imunify, caching and any proxy such as Cloudflare. Several plugins controlling the same logins, headers or requests can complicate troubleshooting. Our team can help assign these responsibilities according to your hosting and applications.

Keep a usable backup, independent access to the hosting account and a copy of the current settings. Test changes on a representative staging site, using our WP Toolkit testing and publishing guide. Avoid changing several protections at once.

Choose headers around the way your site works

  • X-Content-Type-Options: the nosniff value tells the browser to respect the declared content type. In particular, check that JavaScript and CSS files are served with the correct MIME types, or the browser may block them.
  • Referrer-Policy: this policy controls the referring information sent with requests. strict-origin-when-cross-origin is a starting point to assess: same-origin requests still receive the full path, while requests to another HTTPS origin receive only the origin. Check integrations that use this information.
  • Content-Security-Policy (CSP): it restricts permitted sources for scripts and other resources. Account for the theme, editor, payments, forms, fonts and external services. A policy copied from another website can block useful functions.
  • Protection against framing: CSP's frame-ancestors directive lets you specify which sites may display your pages inside a frame. Establish legitimate uses before prohibiting all framing, and coordinate any X-Frame-Options rule.
  • Strict-Transport-Security (HSTS): it tells the browser to remember an HTTPS requirement for a specified period. First confirm that HTTPS and certificate renewal work. Do not add includeSubDomains or submit the domain for preloading without checking every affected subdomain. Simply removing the header does not immediately cancel a policy already stored by browsers.

Put headers in place and check their effect

  1. Record the current response. Open the Network tab in your browser's developer tools, reload a page and select the HTML document request. Examine its response headers. Check important pages on the site as well.
  2. Choose where to manage each rule. Depending on your setup, this may be the web server, proxy/CDN or a suitable WordPress plugin. Have the person responsible for server configuration make server changes. Keep one place responsible for each rule to avoid duplicates or conflicting policies.
  3. Deploy gradually. Prepare values suited to the site and start with a limited change. For CSP, use Content-Security-Policy-Report-Only first to observe violations before enforcing a policy. This mode alone does not enforce protection. If reports are sent to a service, review the information they transmit too.
  4. Test real workflows. Check navigation, login, editing, forms, member areas and payments in test mode where available. Examine browser errors and the response actually received after caching. A good score in a checking tool does not establish that the entire site is secure.
  5. Keep the result and a rollback route. Record the rule and where it changed. If a feature stops working, revert that specific change and request an assessment; do not disable every protection to compensate.

Limit discovery of WordPress usernames

Some public interfaces can expose author names or identifiers. Reducing this discovery can limit some automated reconnaissance, but a username must not be treated as a secret that replaces a strong password and two-factor authentication.

Wordfence Security is an option to assess if these functions are not already covered. Its brute-force protection settings include an option beginning with Prevent discovery of usernames, which limits several discovery methods. Themes and other plugins can still expose author information. Check author pages and integrations after enabling it; do not block the entire REST API to achieve this goal.

If Wordfence is already installed, review its setting before adding another plugin. If it is absent, have its usefulness and interactions with hosting tools assessed. Limit administrator accounts and consult our password and account protection guide.

Understand Imunify Security in WordPress

The official Imunify Security plugin connects the WordPress dashboard to the server's Imunify product. It is supplied and updated by that software, rather than obtained from the public WordPress.org directory. When installed for your website, it provides access to information such as security status and malware findings.

Available features depend on the product, versions and hosting settings. Compatible versions also provide a firewall inside WordPress, separate from the server firewall. Behavior differs by product: monitoring mode records events, while active mode can block matching attempts. Do not assume that a feature is active simply because the plugin is visible.

If the plugin or a control is missing, ask Nuagerie what is available for your website. If legitimate activity is blocked, privately provide the time, page and action for a targeted review. Keep WordPress updated: complementary protections do not replace fixing vulnerable software.

Get help strengthening your website

Through your Nuagerie Client Area, describe the features that must keep working and the protections already present. Our team can examine your headers, plugins and available alerts, then recommend appropriate settings or development work. Do not send passwords, private keys or reports containing unnecessary customer information.

An abandoned theme or difficult-to-maintain plugins can justify a broader project. Our web development service can help with replacements, a redesign or a new website. The decision should reflect your needs and the site's condition, not just a scanner score. If you already suspect an intrusion, follow our compromised WordPress site guide instead.

Official references

Related Articles

Install or change a WordPress theme safely A theme determines much of your website’s presentation and may also provide specific features. Replacing it can change menus, page templates and how content appears. Plan the switch as a website change, even when WordPress offers a simple activation button. 1. Choose a suitable theme from a trusted source Use the... What to do if your WordPress Website was Hacked Unexpected redirects, an unauthorized administrator account or a security alert may indicate a compromise. Login problems, a slow site or a traffic drop can also have other causes. Record the symptoms before drawing conclusions and coordinate the response with the person responsible for the site. 1. Preserve useful... Test and publish changes with WP Toolkit A staging environment is a working copy separate from the public website. WP Toolkit can clone a WordPress site and later copy selected changes to another installation. These features must be enabled for your service. If they are unavailable, ask support to confirm the available approach before proceeding. Prepare a... Getting started with WP Toolkit in cPanel WP Toolkit brings together your account’s WordPress installations and their main management tools. Start by finding the correct site and understanding its status before changing files, plugins or settings. Available controls depend on the features enabled for your service; a missing button does not mean your website... Plan and verify WordPress updates with WP Toolkit A WordPress update may fix a security issue, restore compatibility or add a feature. WP Toolkit helps organise those changes, but the result also needs checking on the website itself. This workflow is for an existing site recognised in your WP Toolkit account. Prepare recovery and testing Confirm the domain and...