Ecommerce Shopify WordPress Discussion

WordPress "Publishing failed. The response is not a valid JSON" when creating a new page

I am using Wordpress 6.4.2, it is a clean installation and I do nothing strange in my theme. When trying to create a new page I get the error "Publishing failed. The response is not a valid JSON" when I try to use the "Post name" permalink structure. I tried changing to "Plain" and then I could publish it. But the permalink then became something like mysite.com/p=123. I want it to be mysite.com/page-name. I read about htaccess file causing it but here is my non edited one: # BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress How can I create pages with post name permalink structure to get my pages on the format mysite.com/page-name?
There is no "Page-Name" property in permalinks. Therefore you must use post-name or other properties.

February 4, 2024

TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.