Category: WordPress

How to Fix & Remove Common 404 Errors in Redirection Logs

By Pure Speed

Are you tired of bots wreaking havoc on your 404 logs? Just add these redirections rules to solve simple yet annoying, repetitive errors. Link Issues If you’ve ever added a Telephone, Email, or even a Website link to your pages, you’ll generally find 404 errors related to them in your logs. Some of these issues…

How to Force a Trailing Slash URL in Htaccess or WordPress

By Pure Speed

A tiny code snippet can ensure all directory URLs are forced to contain a trailing slash. In WP Permalinks you can make this the default link. Examples Here are a couple of examples showing the before-and-after state of your directory links, with and without trailing slashes. No Trailing Slash No matter the directory level, these…

How to Force HTTPS using .htaccess Redirection in Three Lines

By Pure Speed

Don’t waste time or bloat your WordPress website. Just a few lines of code can ensure your website automatically default to HTTPS over HTTP. The code below can easily be added to your website via FTP or File Manager in your hosting control panel. Look for the file .htacess in your Public HTML root directory…