Forums
(@josepprat)
2 years, 9 months ago
Hi,
I solved the problem adding some directives to the nginx settings:
if (!-e $request_filename) { set $test P; } if ($uri !~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon|internal-nginx-static-location|status_phpfpm)) { set $test "${test}C"; } if ($test = PC) { rewrite ^/(.*)$ /index.php?$1; }
Thank you as well,
Hello,
Thank you for your reply.
I have tried disabling Mod Security on my server. But the optimisation again, the 404 error persists.
I get this error:
https://gyazo.com/b3aa8213957de6d158875f4ecdcf4a83
“{“code”:”rest_no_route”,”message”:”No se ha encontrado ninguna ruta que coincida con la URL y el m\u00e9todo de la solicitud.”,”data”:{“status”:404}}”
Hello Michael,
Thanks for your reply. I have done all the steps that you told me to do, but after rescanning the content I still get the same error.
If you have any more ideas, I would appreciate it.
Thank you very much.