home » zplus/freepost.git
Author zPlus <-> 2016-03-18 06:41:44
Committer zPlus <-> 2016-03-18 06:41:44
Commit dbef09c (patch)
Tree 58e687d
Parent(s)

Redirect


commits diff: 5532c9c..dbef09c
1 file changed, 4 insertions, 0 deletionsdownload


Diffstat
-rwxr-xr-x .htaccess 4

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+4/-0 M   .htaccess
index 67b1500..56fbae3
old size: 1K - new size: 1K
@@ -9,6 +9,10 @@
9 9 RewriteRule .+/images/(.+)$ images/$1 [NC,L,QSA]
10 10 RewriteRule .+/javascript/(.+)$ javascript/$1 [NC,L,QSA]
11 11
12 + # Redirect old urls
13 + RewriteRule community/.+/post/(.+)/.+$ post/$1 [NC,L,QSA,R=301]
14 + RewriteRule community/.+/post/(.+)/*$ post/$1 [NC,L,QSA,R=301]
15 +
12 16 # Redirect /new to index.php
13 17 RewriteRule ^new$ index.php?new [NC,L,QSA]
14 18