Tag: tricks

Optimizing WordPress Permalinks with htaccess

Posted on September 13, 2011 in WordPress by

Okay, so Summer’s over, kids are back in school, and I’m finding all sorts of free time to continue writing and posting. One of my Summer projects involved updating & optimizing one of my old project sites, DeadLetterArt.com. It was basically a huge clean-up session that included lots of content consolidation and permalink restructuring. So that’s the topic of this post, how to use htaccess to optimize WordPress permalinks. I’ll go through some htaccess techniques and explain how they can improve your WordPress-powered site.

Continue Reading

Huge Collection of Code Snippets: HTAccess, PHP, WordPress, jQuery, HTML, CSS

Posted on September 5, 2011 in Web Design by

Please excuse this self-serving, miscellaneous post, but I’ve just got to purge all of these code snippets and scraps collected over the years. Whenever I update this site, I place any removed/unused code snippets into a giant note file for future reference, just in case. There’s all sorts of different types of code and snippets that just keep growing and growing and.. and finally it gets to a point where I just need to dump everything and start fresh. That is the purpose of this post.

Continue Reading

The Art & Science of Folding CSS Code

Posted on July 27, 2011 in CSS by

One of the joys of working with CSS is that you can basically write the code any way you want. Sure there are some basic rules you have to follow (like using brackets), but for the most part you can format your CSS code as elaborately or as plainly as you see fit. You can use this vast flexibility to improve the organization and usability of your working stylehseets before compressing them for production use.

Continue Reading

Upload Large Files or Die Trying

Posted on June 18, 2011 in Web Design by

I recently spent some time wrestling with various e-commerce/shopping-cart/membership plugins. One of them was of course the popular WP e-Commerce plugin, which uses a directory named “downloadables” to store your precious goods. I had some large files that needed to go into this folder, but the server’s upload limit stopped me from using the plugin’s built-in file uploader to do so.

Continue Reading

Humans.txt

Posted on May 3, 2011 in Web Design by

One thing I love about Twitter is the instant feedback. For the past few weeks I’ve been seeing lots of 404 requests like this:

http://perishablepress.com/humans.txt
http://perishablepress.com/humans.txt
http://perishablepress.com/humans.txt

At first I thought it was some skript kiddie getting creative, you know as a play on the robots.txt file, which is also located in the root of many websites. So it seemed interesting enough to tweet about:

Continue Reading