The response is not a valid JSON response. Permalink issues.
Domain is set for NGINX as a proxy server to Apache and there are any of the errors or similar:
- The response is not a valid JSON response.
- Permalinks are not working
- Selecting Dashboard in Wordpress does not do anything
- www.domain.com/wp-admin doesn't load correctly
Verify the NGINIX / Apache settings are correct:
- PHP settings are set to FPM application served by NGINX
- .htaccess is renamed to .htaccess.bak
- Apache & NGINX settings
- Enable nginx caching
- Cache size: 128MB
- Additional nginx directives:
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;
}