I had the same issue but mine turned out to be the following;
WordPress Address (URL)
Site Address (URL)
Did not match, one had the www and the other did not. Once I changed them both to be the same my site was working again, I’m able to publish and update.
Adding this to htaccess resolved the issue:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /software/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /software/index.php [L]
</IfModule>
Best Consignment Shop Software
I got it solved now. The reason being that was the ssl certificate configuration!
Installed Really Simple SSL and got the problem solved!
seems everyone has a different solution, as long as something worked for them. I did find my solution here:
I am using a synology box and ngix as the default web server. On one box wordpress works, on the other it doesn’t. Didn’t quite get why, but switching both to apache did solve the issue for one.
The other was more stubborn. The wordpress site WORKED, it was visible, but I couldn’t add any posts.
It was reading the post regarding permalinks that reminded me, there was(/is?) an issue that until you change the permalinks, the .htaccess file hasn’t been updated/written. Once I updateds the permalink and change it from day/date to something else and saved it, and then changed it back, it worked for me!
the reason is permalinks which take you 404 error for posts.
just go to settings >> permalinks and hit “save changes” button.
it solves “publishing failed”
But, guys! Activating classic editor isn’t a solution I think.
Really Simple SSL is the solution if you are using Cloudflare SSL on site.
I have just updated the wordpress and my problem get solved
@iaeon Thanks so much for sharing your working solution!