Please follow the below steps when you get the above error. You will get this error When you try to publish a post or create a new page in the wordpress site.

  1. Go to settings>permalinks. Select “Post name” and save. Try updating your posts/pages. If it doesnot work, try selecting another option in the settings>permalinks.
  2. If the 1st step doesn’t work then install the classic editor plugin. This should solve the issue. If it doesn’t work then goto the third step.
  3. Goto your apache config file(mydomain.conf) and add the below lines.
    <Directory /var/www/html/>
    Options FollowSymLinks
    AllowOverride All
    Require all granted

    </Directory>
    Note:- Replace /var/www/html with your document root.

If the issue is not resolved after following the above three steps then we need to debug further.

Leave a Reply

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny