assistance

Giving users a helping hand when authorizing them in WordPress

Inspired by how Facebook assists their users when they log in, I decided to implement something like the same for WordPress.

January 24, 2017 · 4 min · bjorn
analytics

Tracking visitors with adblockers

More and more users are using adblockers or surfing the web via private browsing with tracking protection. But this also affects your web analytics, as the blockers also will block analytics tracking – not only third party services like Google Analytics, but also self-hosted solutions like Piwik.

January 23, 2017 · 4 min · bjorn
moving

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.

January 23, 2017 · 3 min · bjorn
To www or not to www

To www or not to www – Should you use www or not in your domain?

For 20 years or so, there has been the debate over whether you should use www or not in your web site’s canonical hostname. So should you use www or not?

January 20, 2017 · 7 min · bjorn
Mozilla

Keep the internet healthy – Internet for people, not profit.

“ A healthy Internet needs all of us”, Mozilla states. And they’re right.

January 20, 2017 · 1 min · bjorn
encrypt

Encrypt and decrypt a file using SSH keys

If you have someone’s public SSH key, you can use OpenSSL to safely encrypt a file and send it to them over an insecure connection (i.e. the internet). They can then use their private key to decrypt the file you sent.

January 5, 2017 · 3 min · bjorn
flexible-content-field

Flexible Content Fields in Field Manager

Field Manager doesn’t have a flexible content field type as Advanced Custom Fields Pro does, but it is possible to mimic the functionality by using a little logic.

December 2, 2016 · 3 min · bjorn
work-time

Do you want my time for free?

Publishing open source software or articles for free is very giving. Not only does it give you a warm fuzzy feeling inside when someone appreciates what you release, but it can also have other indirect consequences that give you a happier life. But when something is free – as in no cost – people will also often turn to a mindset where they don’t appreciate your effort, time or value as a human being. For some reason, some people forget all about being polite and demands that I give them professional support because they can’t read instructions, don’t know what they are doing, or just feel like their time is much more important than mine.

October 17, 2016 · 2 min · bjorn
Moderate comments with WP-CLI

Moderate WordPress comments with WP-CLI

I very much appreciate comments that bring new insights, corrects my errors, or leaves a thank you note. But even so, it is a bit tedious to moderate comments. Though logging into WordPress – even with two-factor authentication enabled – isn’t much of a hassle, it is still a nuisance when you just want to approve or trash a couple of comments.

October 16, 2016 · 2 min · bjorn
finding-correct-location

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.

October 15, 2016 · 4 min · bjorn