Installed the WP-Super-Cache plugin for Wordpress. It’s a replacement for WP-Cache that comes with Wordpress. It’s supposedly a lot faster and so far seems like a good alternative especially since it supports gzip.
Changed the sitemaps.xml file around a little bit. It no longer includes any Category or Archives type pages; Only actual posts and static pages. This should stop google (and other search engines) from sending people to a category page instead of straight to the post they were looking for.
I did alot of cleaning of code and such that you people won’t notice, but it’s there anyway. Hopefully it’ll speed things up a little bit.
40,000 Blowjobs from Belgium
I’m too sure why this one is still getting a lot of hits. I think its from people searching google for “Blowjob“. Sick bastards
Funny Motivational Posters
We actually get more traffic from google for the term “Funny Motivational Posters” than from stumbleupon
Pretty easy fix. I was almost tempted to create a .htaccess rule to redirect all favicon.ico requests to that file until I realized it was my fault for not using an absolute path.
There’s a lot of 404 errors that look like this : “http://www.thesh17.com/wp/2007/04/17/hot-fuzz-from-the-people-who-made-shaun-of-the-dead/feed:http://www.thesh17.com/comments/feed/“
I don’t know how to fix this really. It only showed up recently so I’m hoping it’s just someone’s broken browser. As far As I can tell all links to comment feeds are correct and working.
The following pages were reported as not being reachable but work fine now.
There’s 272 urls being restricted by the robots.txt file and it cut my supplementary indexed pages down a lot. There’s 283 pages indexed by Google now.
Disabled the Shoutbox on the sidebar.
Removed the tag and category pages from the sitemap.xml file since they were being blocked by robots.txt anyway.
Disabled the Text Link Ads plugin.
Removed the Vizu Poll in the sidebar.
There’s some other things I did too, but I was bored and felt like listing these.
I changed a lot of things with the site’s design and code, but it’s still basically broke in anything other than firefox. I’ll give somebody a dollar to fix it.
(edit)Fixed a few 404 errors with the category links and changed all of the category urls(not the tags)
(edit)Changed the robots.txt and sitemap.xml files
* plugin ready for WordPress 2.1! * removed video object in feed, just a link instead
* added video portal: brightcove, aniBOOM
* added support for local media files like mov, avi, mpg, flv, swf
I guess videos showed up in feeds up until version 3.0. I started editing the embedded-video.php file and around line 132 is where my modifications start.
Lines 132 to 159. All I did was comment out the if/else statement. //if ( !is_feed() ) {
switch ($match[1]) {
case “youtube”: $output .= YOUTUBE_TARGET; break;
case “google”: $output .= GOOGLE_TARGET; break;
case “myvideo”: $output .= MYVIDEO_TARGET; break;
case “clipfish”: $output .= CLIPFISH_TARGET; break;
case “sevenload”: $output .= SEVENLOAD_TARGET; break;
case “revver”: $output .= REVVER_TARGET; break;
case “metacafe”: $output .= METACAFE_TARGET; break;
case “yahoo”: $output .= YAHOO_TARGET; break;
case “ifilm”: $output .= IFILM_TARGET; break;
case “myspace”: $output .= MYSPACE_TARGET; break;
case “brightcove”: $output .= BRIGHTCOVE_TARGET; break;
case “aniboom”: $output .= ANIBOOM_TARGET; break;
case “vimeo”: $output .= VIMEO_TARGET; break;
case “guba”: $output .= GUBA_TARGET; break;
case “dailymotion”: $output .= DAILYMOTION_TARGET; $match[3] = “nolink”; break;
case “garagetv”: $output .= GARAGE_TARGET; $match[3] = “nolink”; break;
case “local”:
if (preg_match(”%([[:print:]]+).(mov|qt)$%”, $match[2])) { $output .= QUICKTIME_TARGET; break; }
elseif (preg_match(”%([[:print:]]+).(wmv|mpg|mpeg|mpe|asf|asx|wax|wmv|wmx|avi)$%”, $match[2])) { $output .= VIDEO_TARGET; break; }
elseif (preg_match(”%([[:print:]]+).(swf|flv)$%”, $match[2])) { $output .= FLASHPLAYER_TARGET; break; }
default: break;
}
//} else {
// if a feed, overwrite nolink option
//$match[3] = “Link”;
//}
And I added this:
//add generic <noembed> so that feed readers that dont support it won't get confused
$output .= "<noembed>--There's a video here that you can't see. You should check out the blog post and watch it.--</noembed>";
Now. With any luck, video’s will start showing up in feeds. If the plugin doesn’t get updated anytime soon, I’ll extend it and just have it post a thumbnail of the video or something with a link to the post.
I followed the advice from gHacks and started optimizing thesh17 a little bit better.
I installed the css-compress wordpress plugin that automatically gzips .css files, and it reduced the (~)download time from 28.85 seconds on a 56k modem to 23 seconds. That alone is pretty good, but I decided to re-enable the normal gzip support in wordpress too, so that all pages are gzipped before being sent to your browser. This didn’t have much effect on thesh17, so it was still at 23 seconds.
I’ll still keep messing around with things I find, but for right now the main page is less than 100k with all images, scripts, and stylesheets loaded. On a T1 or a good cable connection that’s around 4 or 5 seconds. With any luck, I can get it lower. Check it out for yourself.