Being self-referential

Sunday, July 23rd, 2006 at 8:05 pm

A few weeks ago I droped the day of the month from the permalink structure of this blog as I realised that I would have to post multiple times every single day for it to be any use.

Although I added a rewrite rule to accomodate the existing links I realised that as the majority of links to my posts were from other posts I had made and those should not depend on the rewrite rule. What I needed was a shortcut in making these links that automatically used the current permalink and also simplify my current process of copying and pasting both the url and title of the relevant post.

A google search later and I had found the Easy Post-to-Post Links WordPress plugin. Unfortunately this created the links with the title of the post, not the contextual form that I use.

After upgrading to the latest version the other day I looked into it again and this time I came across AutoLink which is a much more powerfull plugin that lets me use contextual links as I have been as it picks up a special url scheme.

However when I tried to play around with this one I couldn’t get it running on my local server (I need to update the PHP installation as it does run fine on my paid host) I opted for a compromise which was to adopt the syntax used by AutoLink for post to post links but rewrite the Easy Post-to-Post plugin to do what I want.

One of the many items on my list is to update my local host so that it is running the same versions as my paid host and once I have done that I expect I will give AutoLink another try. My immediate need is to not require the rewrite rule for any internal links.

Tagged with: , ,