Posts Tagged ‘wordpress’

Website Redirects with WP-SuperCache

On my WordPress install, I use the WP-SuperCache plugin to be nice to my web server. I was shocked when trying to show a coworker something on my site (he typed in whatanoob.com – what a n00b! :) ) to see my homepage content very old and the redirect was no longer working (it worked some time ago when I setup WordPress). It appears that sometime after installing the WP-SuperCache plugin, my website no longer redirects the aliased site to the “real” domain, but instead just serves up the same content (this is very, very bad for SEO). The redirect removing the ‘www.’ still worked.

The fix is simple.. I just added the lines:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?whatanoob\.com [NC]
RewriteRule ^$ http://whatan00b.com/$1 [L]

.. to my .htaccess file.

Two lessons (re-)learned:

  1. Test everything – This WP-SuperCache is definitely not something that you can install, activate, and expect to “just work” with your setup. When you assume.. well, you know the rest.
  2. Monitor, monitor, monitor

FYI: still not sure why cache was so stale, but going into the plugin settings and deleting the cache cleared it up. I also changed it to clear cache whenever posting new posts.

Tags: ,
Filed under How-Tos / Tips : Comments (0) : Jul 9th, 2010

WordPress 2.8 Upgrade Ease

Well, I just did the WordPress upgrade from 2.7.1 to 2.8 and I have to say, that’s the easiest upgrade of any CMS I’ve ever done. I’m actually still in shock. I was planning on spending about 15-20 minutes going through making sure all my plugins worked, etc., but not so! I did the automatic upgrade and voila, all done within seconds. That’s all, I just wanted to share the awesomeness that is WordPress :)

Tags:
Filed under Just for Fun : Comments (0) : Jun 24th, 2009