MovableBlog: Redirecting to New Archive Pages With .htaccess

Nuance 2.0

March 31, 2003

Jim Ray: Movable Type file rewrite. This seems like a better solution than my own (not yet implemented): replacing each individual template file with a PHP header() redirect, and the (temporary) Individual Entry Template was going to look something like this (depending on the format of URL I wanted of course):


header ("Location: <$MTBlogArchiveURL$><$MTEntryCategory dirify="1"$>/<$MTEntryTitle dirify="1"$>.php");


But using one file (i.e. .htaccess) seems a lot more efficient.

Posted by Richard at 1:03