Add 302 redirect for old topic urls

This commit is contained in:
Adrian Malacoda 2016-11-13 20:14:39 -06:00
parent 07ddc3e97e
commit d9c5cf8390

View File

@ -67,6 +67,10 @@ http {
try_files $uri $uri/ /index.html;
}
location ~ ^\/index.php/topic,(.*)$ {
return 302 $scheme://$host/index.php?topic$1;
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;