From a2486576208dfcb2bf0cb55df90b65182d2063b5 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Mon, 3 Jun 2013 04:16:50 -0500 Subject: [PATCH] Update what battles count as old --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 7e115cd29..3fcaed142 100644 --- a/.htaccess +++ b/.htaccess @@ -23,7 +23,7 @@ Header set Access-Control-Allow-Origin * env=SAFE_RESOURCE # Redirect old battles to their corresponding replay RewriteCond %{HTTP_HOST} ^play\.pokemonshowdown\.com$ [NC] -RewriteRule ^battle-([a-z0-9]+-20[0-6][0-9]{5})$ http%{ENV:P_SUFFIX}://pokemonshowdown.com/replay/$1 [R=302,L] +RewriteRule ^battle-([a-z0-9]+-20[0-9]{6})$ http%{ENV:P_SUFFIX}://pokemonshowdown.com/replay/$1 [R=302,L] RewriteCond %{HTTP_HOST} ^play\.pokemonshowdown\.com$ [NC] RewriteRule ^battle-([a-z0-9]+-?1[0-9]{7})$ http%{ENV:P_SUFFIX}://pokemonshowdown.com/replay/$1 [R=302,L] RewriteCond %{HTTP_HOST} ^play\.pokemonshowdown\.com$ [NC]