The response is not a valid JSON response and cant access but main page
-
Page was developed locally and then transported to a webserver. SSL.
When using “Settings->Perma Links->Post Name” I can only access my home site, but nothing else. (other pages receive a not found)
I also can’t edit any posts getting a: “The response is not a valid JSON response” error
When using “Settings->Perma Links->Plain” everything works fine, but it’s bad for SEO.Fixes I tried:
Check if .htaccess is writable (755) and gets written: Yes
Check if other Perma Link options work: Nothing, but “Plain”
Check if classic editor plugin fixes the error: No
Check if deactivating all plugins helped: NoPlugins I use:
DSGVO All in one for WP
ShiftNav – Responsive Mobile Menu
Wordfence Security
Yoast SEO.htaccess file when permalinks set on postname:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
- The topic ‘The response is not a valid JSON response and cant access but main page’ is closed to new replies.