I try to install WordPress on Ubuntu 20.04 with a LAMP stack as the following tutorial https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-20-04-with-a-lamp-stack with exact step by step, but when I go to WordPress Dashboard > Setting > Permalink and change the default plain to the custom permalink, I got 404 pages with sample post and page. If I type HTTP instead of HTTPS, I saw posts and pages displayed as normal.
When I try to create a new post I got the error: “Updating or Publishing failed. The response is not a valid JSON response”.
I guess SSL certification makes the issue but don’t know what is the problem exactly and can’t find the solution on Google. Some post advice I should keep the plain permalink but It’s not good for SEO. Anyone has met this issue? I very much appreciate your response.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!