diff --git a/.htaccess b/.htaccess index 67b1500..56fbae3 100755 --- a/.htaccess +++ b/.htaccess @@ -9,6 +9,10 @@ RewriteRule .+/images/(.+)$ images/$1 [NC,L,QSA] RewriteRule .+/javascript/(.+)$ javascript/$1 [NC,L,QSA] + # Redirect old urls + RewriteRule community/.+/post/(.+)/.+$ post/$1 [NC,L,QSA,R=301] + RewriteRule community/.+/post/(.+)/*$ post/$1 [NC,L,QSA,R=301] + # Redirect /new to index.php RewriteRule ^new$ index.php?new [NC,L,QSA]