• Resolved Shane

    (@shanemarsh28)


    {"code":"rest_no_route","message":"No route was found matching the URL and request method.","data":{"status":404}}
    
    SITE: https://www.gatsbyandmiller.co.uk/wp-json/yoast/v1/link-indexing/posts

    Hi, I have been having some trouble with the rest API and would like some guidance. This blog is in a multisite installation and the vast majority worked perfectly. We were able to import from AIOSEO, run the first-time configuration – all good. We have a handful of sites that no matter what we try will not complete the optimisation and throw the above error. We do not run apache (so no .htaccess), all blogs are in the same WP Install (same servers, database, filesystem – everything).

    So far we have tried:
    – Resetting permalinks from WP Admin and by running: wp rewrite flush
    – Disabling all plugins for a specific blog
    – Running wp yoast index –url=www.gatsbyandmiller.co.uk
    – Checked the Yoast API is accessible: https://www.gatsbyandmiller.co.uk/wp-json/yoast/v1 (yes it is)
    -Checking Javascript versions (doesn’t seem relevant but looks OK)

    Sadly, no joy. What have I missed? Any help welcome.

    (Yoast Version 20.1?)
    (PHP: 7.4.x)
    (WordPress: 6.1.1)

Viewing 1 replies (of 1 total)
  • Thread Starter Shane

    (@shanemarsh28)

    Hello, as an update, I found the issue and it was not related to Yoast. A redirect was being added by some other code being included in the theme.

Viewing 1 replies (of 1 total)
  • The topic ‘Optimisation:’ is closed to new replies.