Nerd For Tech
Published in

Nerd For Tech

[Resolved] Update Failed/Publish Failed in WordPress After SSL Installation

Have you ever tried to set up a WordPress website on an IIS server?

Well, I have and I tried to do that with Cloudflare Universal SSL. After installation, I couldn’t save/publish a post or a page. Every time I tried, It threw an error “Update Failed” or “Publish Failed”.

After googling around a lot, I tried following solutions and one of them worked like a charm. I hope it may help you as well.

  • Settings -> Permalinks -> Save (Didn’t work)
  • Removed all plugins and restarted IIS (Didn’t work)
  • Added always_populate_raw_post_data = -1 to php.ini (No luck)
  • Installed plugin and activated it. This one actually worked but only if I enable classic editor instead of block editor and I want to take advantage of WordPress's block editor. (So Didn’t work for me)
  • Installed plugin and activated it. (Worked like a charm). All cross-origin errors solved and everything works just fine.




NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To know more about us, visit

Recommended from Medium

Comparison between Swift and Flutter for creating IOS applications

Monitoring Diabetes with Google Cloud Platform

Spectrum for UDP: DDoS protection and firewalling for unreliable protocols

A Good Programming Job Is Like Retirement, Just Better

New post on The Gate’s Fanpage.

The Hardest Part of Learning Anything New

User Authentication using JWT in a React/Redux app with Rails API

Static and Dynamic linking of libraries on Linux OS.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Chirag Sorathiya

Chirag Sorathiya

Full Stack Developer | Angular Enthusiastic | Project Manager

More from Medium

Best Php Projects For Beginners With Source Code

Official WordPress Performance Plugin to Speed Up Your Website

WordPress Performance Lab Plugin

How to Move Emails from Google Workspace for Free

Google mail logo in blue, dark red, red, yellow and green

How to install WordPress, MySQL and MAMP in Windows