Working With The .htaccess File In WordPress

WordPress is a great platform that is made all the better by how detailed and powerful the standard WordPress dashboard is. You can achieve much, in terms of customizing the way that your site feels and functions, by simply using the tools that WordPress has made available to you as standard. There comes a time in any website owner’s life, however, when you will need to go beyond this functionality. Working with the WordPress .htaccess

How To Write and Test Regex Filters for Google Analytics (With Examples)

As with many of my articles here, I do some research for a client and then write about it here. To be honest, there are a couple of reasons why… first is that I have a terrible memory and often research my own website for information. Second is to help others who may also be searching for information. What is a Regular Expression (Regex)? Regex is a development method to search and identify a pattern

New Domain Regular Expression (Regex) Redirects In WordPress

For the last few weeks, we’ve been helping a client to do a complex migration with WordPress. The client had two products, both of which have become popular to the point that they had to split out the businesses, the branding, and the content out to separate domains. It’s quite the undertaking! Their existing domain is staying put, but the new domain will have all content with respect to that product… from images, posts, case

WordPress Plugin: Blogging Checklist

Back at BlogIndiana 2010, we did a soft launch for WordPress plugin to help increase employee productivity. It’s called Blogging Checklist, and it’s based on the unbelievably simple and yet astounding power of a checklist. Blogging Checklist is just what it sounds like: it creates a bunch of checkboxes for you to use when writing a blog post. Sure, you could achieve the same thing with a Word document or a post it note, but

Check Email Address with JavaScript and Regular Expressions

A while ago I put up a Password Strength Checker using JavaScript and Regular Expressions. On that same note, you can also check the structure of an email address utilizing the same regular expression (regex) methodology. If your form element has the id=”emailaddress” and you add a form onSubmit=”return checkEmail();“, this is a Javascript function that you can utilize to return an alert if the email address has a valid structure or not: <script language="javascript">

Valid Email Address Length

I had to do some digging today to find it, but did you know what the valid length of an email address is? It’s actually broken into parts… Name@Domain.com. This is according to RFC2822. Name can be 1 to 64 characters. Domain can be 1 to 255 characters. Wow… that means that this could be a valid email address: loremaipsumadolorasitaametbaconsectetueraadipiscin gaelitanullamc@loremaipsumadolorasitaametbaconsect etueraadipiscingaelitcaSedaidametusautanisiavehicu laaluctuscaPellentesqueatinciduntbadiamaidacondimn tumarutrumbaturpisamassaaconsectetueraarcubaeuatin ciduntaliberoaaugueavestibulumaeratcaPhasellusatin ciduntaturpisaduis.com Try fitting that on a business card! Ironically, most