Browsing articles in "Miscellaneous"
Feb
5
2013

Dev Confessions (And lessons learned the hard way!)

356_welcome-to-fail

I’ve learned a lot through the years as a web programmer/engineer/developer (pick and choose the term you prefer).  I’ve so too many thousands of lines of code to count, I’ve seen so many errors and warnings and server outages that I just don’t care to describe, and looking back at my past work is often pretty horrifying! Let’s get those confessions out of the way Forgive me oh holy purveyors of code, for I have [...]

Jan
2
2013

I’m back!

open

After much much much delay, and hundreds of thousands of lines of code, I have returned! It’s not so much that I’d decided I had a blog that I didn’t care about anymore, but I felt as though if I were to carelessly throw garbage code on here for the sake of populating this site, I’d be a bit of an ass. Since my last post (whoaaa, apparently over a year ago), I have worked [...]

Jun
26
2011

301 Redirect Using .htaccess

301 redirect image

A commonly overlooked factor in search engine optimization for websites is the “to www or not to www” question.  Singularly speaking, search engines have no preference for your site to contain the “www” prefix, however failure to specify can negatively impact your search engine rankings. Do note that in order for the .htaccess file modification below to function properly, your webserver must allow mod_rewrite. Consider the following scenario. You submit your xml sitemap to google. [...]

Jun
2
2011

Welcome to PHP Dev Tips!

Hello, and welcome to PHP Dev Tips!  As you can see, this is the first of many many many posts about PHP, MySQL, HTML, XHTML, Javascript, Ajax, SEO, usability, and anything else related to the web that I found useful, and you may. I encourage YOU to tell us what you want!  What do I want?  I want you to join the PHP Dev Tips community- write some handy articles, interact, and keep up the [...]