A common mistake when setting up multiple redirects for a website is failing to put them in the correct order. Typically, the person setting them up realizes that order is important; but it isn’t always clear how the redirects should be ordered.
Blog
WWW Redirects with .htaccess
Determining whether to use www in your canonical URLs is an important decision and should be reinforced by redirects to prevent duplicate content from an SEO perspective. Definition of a WWW Redirect A www redirect is a rule on your web server that forwards all traffic from the non-www version of your domain to the… Read More
Simple Redirects with .htaccess
Anytime you migrate a web site, or even just relocate a single page to a new URL, redirects ensure that your users don’t get lost in the shuffle. Search engines also use redirects to aid in properly indexing your site’s content.
Hide WordPress Plugin Deactivation Links
You can prevent WordPress users from being able to deactivate plugins by hiding the ‘Deactivation’ links.
WordPress Must Use Plugins
WordPress must use plugins are plugins that are always loaded and cannot be deactivated within the WordPress admin.
Exclude a Plugin or Theme from WordPress Updates
Anytime you’ve written a custom plugin that isn’t released on WordPress.org or modified a theme, it is best to disable updates for that specific theme or plugin.
Managing WordPress Automatic Updates
WordPress will, by default, automatically update itself when there are security releases. It can also update themes and plugins automatically if necessary. From a security perspective, this is great. However, automatic updates can also present complications.
Disable WordPress Updates for Specific Users
Learn to disable WordPress core, plugin and/or theme updates for specific users. Especially handy when you want to prevent clients from triggering updates willy-nilly.
Easily Check if Multiple Array Keys Exist in PHP
A simple utility function that checks to see if an array contains multiple keys.
Filtering Multi-Dimensional Arrays in PHP
A simple utility function that enables recursive filtering of multi-dimensional arrays.