Skip to main content
bj {bjørn:johansen}
  • About me
  • Privacy Policy
  • About me
  • Privacy Policy

Tag

redirect

3 posts Feed
  1. 23 Jan 2017

    Move your WordPress site from non-www to www domain

    So, you’ve launched your WordPress site on a non-www domain, like example.com, but since then found out that running it on on www, like www.example.com, is better and want to move? You’re in luck, because it is really easy.

    Read
  2. 15 Oct 2016

    How to do an Nginx redirect

    Nginx is an extremely efficient and quite flexible web server. When you want to do a redirect in Nginx, you have a few options to select from, so you can choose the one that suits you best to do an Nginx redirect.

    Read
  3. 15 Oct 2015

    Redirect all HTTP requests to HTTPS with Nginx

    All login credentials transferred over plain HTTP can easily be sniffed by an MITM attacker, but is is not enough to encrypt the login forms. If you are visiting plain HTTP pages while logged in, your session can be hijacked, and not even [two-factor authentication](https://www.bjornjohansen.com/two-factor-authentication-for-wordpress) will protect you. To protect all info sent between your visitors – which includes you – and your web server, we will redirect all requests that are coming over plain HTTP to the HTTPS equivalent.

    Read

© 2026 Bjørn Johansen.

Feed Built with Hugo