Sometimes, We Write Stuff...
Using htaccess To Always Have the WWW In Your URLs
I've had a blown disc in my neck for over a month now, so needless to say I've just NOT been in the mood to blog. However, I decided that I could at least write smaller/quicker posts in the meanwhile instead of my typical long ones... so here goes the first of (hopefully) many little tidbits.
Today I'm just posting a little bit of code that I use in my .htaccess file to make all visitors (including search engine robots) 301 redirect to URLs with a 'www' in front of them. Why do this? Because instead of search engines seeing xxx amount of incoming links to www.stoutlabs.com and xxx amount of incoming links to stoutlabs.com (no www), it sees both sets of incoming links as one total – and thus gives me a higher placement/page ranking!
Mootools Content Slider Class
Sorry for the delays between posts, everyone! For this particular one, I've revisited the old 'content slider' posts and converted it into a class. As you probably guessed, it's far more flexible/powerful this way – plus it's easier to modify and customize!
Mootools Class - Form Hilighter
I've got a very Mootools-heavy client site launching soon, and in the process I ended up writing several interesting classes for it. I plan on sharing them all here over the next couple of weeks, and to kick it off I want to start with the smallest (read: easiest) of them: a form field highlighter class.
30 Days of MooTools Tutorials
The folks over at the Consider blog have just started with their '30 Days of MooTools Tutorials' series... and since I have so many search engine hits for MooTools-related searches these days, I wanted to share with everyone. Hopefully we will all learn a little something over the next 30 days – and it will probably be a great MooTools reference either way.
DevSnippets.com
I just wanted to make a quick post about a new site, DevSnippets.com, brought to you by the folks at Noupe. I really think it's going to be a fantastic resource for fellow web developers, so definitely stop in and have a look around.