Welcome to Centmin Mod Community
Become a Member

Wordpress The REST API did not process the context query parameter correctly.

Discussion in 'Blogs & CMS usage' started by fly, May 5, 2021.

  1. fly

    fly Premium Member Premium Member

    49
    7
    8
    Jul 27, 2019
    Ratings:
    +12
    Local Time:
    7:58 AM
    I'm getting this Site Health error on a site anytime I select anything other than Plain permalinks.


    Fresh install of Cent, everything up to date. This was a backup and restore from a non Cent site, if that matters, so I did not use option 22.
     
  2. eva2000

    eva2000 Administrator Staff Member

    46,858
    10,629
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,498
    Local Time:
    9:58 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Compare the nginx vhost config and rule/directives between a test centmin.sh menu option 22 Wordpress install and your restored site to make sure they have the right rules for permalinks - specifically the main location / {} context's try_files directive
     
  3. fly

    fly Premium Member Premium Member

    49
    7
    8
    Jul 27, 2019
    Ratings:
    +12
    Local Time:
    7:58 AM
    That was it! Thanks!

    May I suggest that the default vhost be updated with the new WordPress try_files directive?