Jason.Mock.ws Permalinks Fixed

Today it came to my attention that my old http://jason.mock.ws permalinks were all broken.  I thought I checked this, but it must have been broken ever since I switched to http://www.jasonmock.com as my primary domain name for my stuff.  Unfortunately, some of my posts have gotten enough attention to be mentioned elsewhere.  My laziness would say go ahead and let the links be broken, but my ego says otherwise :)

For those interested in the apache configuration hackery, here are the goods (plus or minus a few irrelevant configuration entries):

<virtualhost *:80>
   ServerName jason.mock.ws
   ServerAlias www.jason.mock.ws
   <ifmodule mod_rewrite.c>
      RewriteEngine On
      RewriteRule ^wordpress/(.*)$ http://jasonmock.com/$1 [R=301,L]
      RewriteRule ^(.*)$ http://jasonmock.com/$1 [R=301,L]
   </ifmodule>
</virtualhost>

Note: Be warned, WordPress keeps making ‘Virtualhost’ all lower case (or at least I think it’s wordpress). If you want to copy this, here’s a version that doesn’t have that problem: https://gist.github.com/1644742

To everyone who thought that my blog or post held within were worth re-mentioning, thank you and sorry for the glitch!

This entry was posted in Internet, Wordpress and tagged , . Bookmark the permalink.

One Response to Jason.Mock.ws Permalinks Fixed

  1. Pingback: To Update or Not To Update | Jason's Place

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">