Add this to nginx:
# Redirect url with /index.php to /
if ($request_uri ~* "^/index\.php(/?)(.*)") {
return 301 "/";
}
Code 💻
Add this to nginx:
# Redirect url with /index.php to /
if ($request_uri ~* "^/index\.php(/?)(.*)") {
return 301 "/";
}