URL / Rewrite Filter

How to make Guttenberg block editor work, when WordPress Address & Site Address are different domains

Recently, I worked on a project where the WordPress site needed to have one domain for Site Address(SITE URL) and another one for WordPress Address(HOME URL). Everything was working fine. Except, whenever we tried to publish a post in Guttenberg editor, we were getting an error saying “Updating failed. “. Soon, I realized that as we