PHP

Filter the entire document generated by WordPress

By Chris Aram / April 12, 2019 / 0 Comments

WordPress provides a vast array of filters with which you can modify the content that gets written to the generated HTML; many theme and plugin authors introduce additional filters of their own. While you can readily filter primary post or page content with the_content, what happens if you need to filter the entire output generated…

Read More

How to force SSL on a WordPress website

By Chris Aram / March 3, 2018 / 0 Comments

Use of SSL instills confidence in your users and is a minor ranking signal to Google. Here’s how to force your WordPress site to use it.

Read More

Redirect everything except /wp-admin and wp-login.php

By Chris Aram / March 3, 2018 / 0 Comments

Often, a client asks us to take down a site — either temporarily or permanently — but they still need access to their WordPress administrative panel. As usual, there are lots of different ways to accomplish this; many SEO plugins allow you to create redirects, but require you to do so one post at a…

Read More