Add 302 redirect for old topic urls
This commit is contained in:
@@ -67,6 +67,10 @@ http {
|
|||||||
try_files $uri $uri/ /index.html;
|
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 404 /404.html;
|
||||||
error_page 500 502 503 504 /50x.html;
|
error_page 500 502 503 504 /50x.html;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user