733700e9acb6

Go to hell, trailing slashes.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 09 Jan 2010 02:40:42 -0500
parents 5b93e8663c57
children 9bd11f5c9786
branches/tags (none)
files content/.htaccess

Changes

--- a/content/.htaccess	Sat Jan 09 02:29:23 2010 -0500
+++ b/content/.htaccess	Sat Jan 09 02:40:42 2010 -0500
@@ -3,8 +3,8 @@
 RewriteBase {{ node.site.settings.SITE_ROOT }}
 
 # Old URLs
-RewriteRule ^blog/entry/(\d+)/(\d\d)/\d+/(.*)/$ /blog/$1/$2/$3/ [R=301,L]
-RewriteRule ^blog/entry/(\d+)/(\d)/\d+/(.*)/$ /blog/$1/0$2/$3/ [R=301,L]
+RewriteRule ^blog/entry/(\d+)/(\d\d)/\d+/(.*)$ /blog/$1/$2/$3/ [R=301,L]
+RewriteRule ^blog/entry/(\d+)/(\d)/\d+/(.*)$ /blog/$1/0$2/$3/ [R=301,L]
 
 {% hyde_listing_page_rewrite_rules %}