WordPress has an issue that can be dumbfounding to say the least. An occurrence called the “White Screen of Death” can happen for really any issue; incompatible plugin, theme bug, an update to a file, etc. But it’s the blank screen with no information that is the difficult part of solving the blank screens cause.… Continue reading Solving WordPress’s White Screen of Death
How to Get The Domain and TLD from a URL using PHP and Regular Expression
How to get a domain and it’s TLD from a URL string using PHP and Regular Expression: preg_match(“/[a-z0-9\-]{1,63}\.[a-z\.]{2,6}$/”, parse_url($_url_string, PHP_URL_HOST), $_domain_tld); echo $_domain_tld[0]; This is particularly useful for dealing with country TLD’s, like co.uk, on.gc along with the general .com, .net, etc. It is also capable of ruling-out multiple subdomains like: http://i83tr.cdn-2.delivery.net/homepage/sprite.png so you end… Continue reading How to Get The Domain and TLD from a URL using PHP and Regular Expression
Can’t Find Documentation on a WordPress Function?
QueryPosts.com is a great site for documentation and source details on WordPress functions. WordPress.org’s Codex is an essential site for referencing the inner workings of WordPress and does have a long list of documentation covering most of the WordPress functions, but does not cover all the functions available in WordPress and doesn’t show the functions’… Continue reading Can’t Find Documentation on a WordPress Function?
Free Server Testing Tools
Site 24 x 7 – Tools for server testing is a great resource for free server testing tools from a web interface. Extremely helpful set of tools when your trying to find out ways to improve the speed and performance of a site. It also is helpful to use these tools on other more popular… Continue reading Free Server Testing Tools
IMEI checker
To quickly check your IMEI number on your Mobile device, dial *#06# on the phone number pad.
Track Google Analtyics Event in PHP
Using php-analytics-event is a way to register Google Analtyics Events from PHP, instead of having to load a javascript Google Analytics Event. This is extremely helpful if you want to track events for file downloads or before forwarding to another site. A great class to help keep track of backend events. Well worth a taking… Continue reading Track Google Analtyics Event in PHP
Quick Command Line Compress with Zip
It’s always nice to have an easy and quick command to compress a directory, remove the git info as well as the .DS_Store files. zip -r9 directory_name.zip directory_name -x *.git* *.DS_Store*
Top 5 Twitter Tweet Post Tips; Twitter Tweeting Optimization
I don’t really use Twitter for much, but I know several clients over the last couple of years who do. And over that time I’ve learned a lot about what makes an effective Tweet. To help those who want to really see growth in their Twitter accounts here are 5 tips to help you Tweet… Continue reading Top 5 Twitter Tweet Post Tips; Twitter Tweeting Optimization
Checking Your Crawlability; Helping The GoogleBot Crawl Your Site
Spiders and Bots are always scanning through your site and indexing the information as best they can. But how do you test your crawlability, to make sure the information you’re providing is indexed properly? Enter SpiderTest and SEOBook.com’s Spider Test Tool. Both crawl your site, but each reports back a separate set of info to… Continue reading Checking Your Crawlability; Helping The GoogleBot Crawl Your Site
Javascript mime types
Header Mime Types are one of the oldest ways for the web to communicate what type of media a file is (I would assume file extensions are the oldest way). Mime types are strings of meta-data sent when HTTP is communicating what the content type of a file being transmitted is. But, with this meta-data… Continue reading Javascript mime types