Force all incoming WordPress HTTP links to HTTPS

This snippet is great to use if you have recently switched your WordPress website over to HTTPS only.

Paste this snippet into your .htaccess and overwrite the standard WordPress code at the top of the file.


Discuss on X (Twitter)