Hosting Price Truth
WordPress-first hosting picks with pricing transparency.

How to Force HTTPS on WordPress (.htaccess, Nginx, and Plugin Options)

Force https wordpress

Updated: December 28, 2025 • Use this as a practical workflow. Provider dashboards change—adapt the steps to your UI.

Ad slot (optional)

Preferred approach

  • Force HTTPS at the server layer (fastest and most reliable).

Apache (.htaccess)

  • Add a 301 redirect rule to send HTTP → HTTPS.
  • Avoid redirect chains by combining rules cleanly.

Nginx

  • Add a server block that listens on 80 and returns 301 to https.
  • Keep HSTS disabled until you confirm HTTPS works everywhere.

WordPress-level

  • Update Site Address to https.
  • Regenerate permalinks.
  • Clear cache/CDN.