Lipstick, meet Swine

Have been tarting up the site in small ways to bring it closer to what I’m after when I’ve had the time – to date this means:

1.) Block quotes now have a nice little ” image and style. If you’re running wordpress, look at style.css and add the tag !important if you need to overide things like colours properly. If you’re stuck, read this.

See what I mean?

2.) I’ve added a printing plugin that shows a Print This Post button in the Categories bar of each article, and modified the print output to look kinda nice. If you’re looking at this post on the main page and there’s no Print This Post button, it’s because it’s set to only show up on individual posts. I should probably make it display on every post regardless of whether you’re viewing an individual post or a set of posts…

3.) WP-SuperCache is fixed and running, making the site a lot quicker to load for non-logged-in users (caching disabled for logged in ppl so I can see site changes as their made instead of having to destroy the cache to see any updates).


4.) The topic bar running across the top of the page (About, Email etc) is now correct and working, though I’m yet to modify the “orange” image so it doesn’t wrap around. I’ve been playing with Liquid Rescale (the Gimp version of seam-carving to try to keep the centre orange perfectly round while only allowing distortion of the during resize – it’s gonna take a little reading and experimentation…

The above video is the only YouTube video I’ve ever posted! Almost a quarter of a million views! Ha!

5.) Fixed image uploads by modifying the WordPress upload path in Settings | Miscellaneous – legacy problem from moving hosts from Win32 to Linux.. Tsk.

6.) Added a Digg This button via the digg-integrate plugin so I can selectively add one to articles for people to Digg any articles up that they find useful. Not that anyone does. You lazy fuckers ;)

7.) Sorted out the .htaccess rewrite conditions for apache to work better with WP-SuperCache and stop hotlinking to images on my site:



Actually, I haven’t sorted hotlinking out – I’m making a hash of the rewrite regex so it’s either rewriting my theme images and allowing the post images or rewriting all. And I HATE working on a live site – will have to take this to localhost and smack it around until it works =/

I’m using the following apache rewrite conditions in my .htaccess – but it’s not rewriting the URL to display my no-hotlinking image when I check things with this hotlink checker

RewriteEngine On
RewriteBase /
AddDefaultCharset UTF-8
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?r3dux\.org [NC]
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !live\. [NC]
RewriteCond %{HTTP_REFERER} !bing\. [NC] 
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
RewriteRule \.(mp3|avi|swf|gif|png|jpe?g)?$ [NC,R,L]

Any idea what I’m doing wrong?

Update: I’m getting closer to resolving this (thanks in no small part to the help of the mighty Shetboy! Cheers, bud!), but due to me not having complete control over the hosting server, I still need to tweak things because I can’t modify the apache httpd.conf file directly and need to use Directory sections and stuff. When I’ve the time and inclination I’ll crack it fo’ shizzle!

8.) Updated the WordPress permalink structure so that posts now have links like rather than – while both still work (via apache’s mod_rewrite) so that previous posts linked on forums or whatnot still take you to the right page.

9.) Um… think that’ about it.

(almost) Yay me :)

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.