• Resolved Steve

    (@puddesign)


    Hi can’t enable any Frontend settings I keep getting the following error

    Unexpected token < in JSON at position 0

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Elena Chavdarova

    (@elenachavdarova)

    Hello @puddesign,

    The issue is related to the WP Rest API request getting blocked. This prevents the options to be enabled.

    I suggest you to double-check any deny rules applied on the site and disable third party security plugins/options used on the website which may block this request.

    Best Regards,
    Elena

    Thread Starter Steve

    (@puddesign)

    Hi I tried disabling all plugins and it still does it, I tested with https://yoursite.com/wp-json and it seems REST API is enabled.

    Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Hey @puddesign

    There are tons of security rules in your htaccess file, that block the REST API. If you leave the default WordPress rules, everything works as expected, so please review the existing rules.

    Regards,
    Stanimir

    Thread Starter Steve

    (@puddesign)

    FIXED:: thank you it was some settings in the htaccess file.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unexpected token < in JSON at position 0’ is closed to new replies.