-
Recent Posts
Recent Comments
Categories
Tags
backpacking beer boston california cartography colors computers conspiracy consumer coverup cron database dd-wrt fibs finance fun functional-programming google government hiking homebrewing hugin jvm library maps netflix network news nuclear-power osx panoramic performance photography programming python quality question-answer recipe sanfrancsico sbt scala scalaz traffic-shaping type-erasure web
Archives
- January 2016
- April 2015
- February 2015
- May 2014
- April 2014
- February 2014
- July 2013
- April 2013
- October 2012
- March 2012
- December 2011
- November 2011
- June 2011
- December 2010
- November 2010
- August 2010
- July 2010
- June 2010
- September 2009
- August 2009
- May 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- August 2008
- July 2008
- March 2008
- February 2007
- June 2006
- May 2006
- April 2006
-
RSS Links
Migrating URLs with Apache
I recently migrated this blog from Blogger, which was posting via SFTP to a shared hosting provider, to a self-managed Typo installation. One of the biggest reasons I didn't do this sooner was that I didn't want all of my old URLs (and the links that point to them) to stop working. After all, what is the point of a permalink if it stops working one day? It isn't that I have such high page rank with Google or anything, but I didn't want to have to start over from scratch.
I wanted to be sure that if someone either typed in a URL that used to work, or followed a link from an outside page, they would end viewing the content that they expected to land on. I thought some about having some kind of logging, so I can be aware of when people use these old links, and where they are coming from. I also thought about having some mechanism for alerting the user that the link they followed is old.