diff --git a/.htaccess b/.htaccess index 2d2a4d334..e23c2516b 100644 --- a/.htaccess +++ b/.htaccess @@ -42,6 +42,7 @@ RewriteRule ^replay/battle-([A-Za-z0-9-]+)$ http://pokemonshowdown.com/replay/$1 RewriteRule ^replay/turn_(.+)\.png$ replay/turn-image.php?data=$1 [L,QSA] RewriteRule ^~~([^:/]*)(:[0-9]*)?/action\.php$ action.php?serverid=$1 [L,QSA] +RewriteRule ^~~([^:/]*)(/.*)?$ http://$1.psim.us$2 [R=301,L] RewriteRule ^~~([^:/]*):([0-9]*)(/.*)?$ http://$1-$2.psim.us$3 [R=301,L] RewriteRule ^style/custom/([A-Za-z0-9-]*)\.css$ customcss.php?server=$1 [L]