Problem with posts after moving to another domain

Hello everyone,

My website has just moved to a **new domain**. The site is showing as intended, SSL is fine with new certificates, and I can see the front page and play embedded videos from there. I replaced all of my old domain in the database with my new domain. Tried different themes, same error.

BUT

* posts are not found (404) when I click on them
* new posts (even without other content than text) can’t be published (“*Publishing failed. The response is not a valid JSON response.*”)

Dashbord doesn’t show any errors. I just updated WordPress and I have no plugins other than a cookie plugin (deactivating it doesn’t change anything).

My setup:

* Raspberry Pi 4
* nginx, mariadb
* PHP 8.2

I don’t know what to do now. Let me know if you need more info. Thank you!

1 Comment
  1. Try resaving your permalinks.

    Go to settings > permalinks, and just click ‘save changes’.

    Also be sure to Google that error you’re getting: “Publishing failed. The response is not a valid JSON response” — there are lots of good solutions out there that may apply to you.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer