Ryan Fitton
BlogTagsPortfolioAbout

Blog

All Posts
  • development (59)
  • code-snippets (47)
  • uncategorized (27)
  • design (15)
  • photos (6)
  • video-talks (4)
  • personal (1)

Force all incoming WordPress HTTP links to HTTPS

Published on
Wednesday, 22 July 2015

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)•If you like this, please donate via PayPal


  • Tagged as:
  • Code-Snippets



mailMailgithubGithubkeybaseKeybaselinkedinLinkedinyoutubeYoutubeinstagramInstagram
AboutColophonPoliciesSocial LinksRSS FeedStatus
© 2025 Ryan Fitton. All rights reserved. License.