• Resolved xales

    (@xales)


    Good afternoon! I can’t save the plugin settings. In the browser console (F12) error:

    "Mixed Content: The page at 'https://site.com/wp-admin/admin.php?page=aioseo-search-appearance#/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'https://site.com/wp-json/aioseo/v1/ping'. This request has been blocked; the content must be served over HTTPS."

    If you click on “Save changes”, nothing happens, only a circle appears on the button and the following is added to the browser console:

    Mixed Content: The page at 'https://site.com/wp-admin/admin.php?page=aioseo-search-appearance#/global-settings' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'https://site.com/wp-json/aioseo/v1/options'. This request has been blocked; the content must be served over HTTPS

    and

    Uncaught (in promise) Error: Request has been terminated
    Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.
        at _.crossDomainError (chunk-vendors.js:57)
        at XMLHttpRequest.t.onreadystatechange (chunk-vendors.js:57)

    Tell me, where is the TITLE of the main page saved? In the database, the search did not give a result.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter xales

    (@xales)

    The site with HTTPS and in Settings > General is selected with HTTPS

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Can you post a screenshot of what you have set under Settings > General?

    Thread Starter xales

    (@xales)

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Strange, we call a WordPress Core function to fetch the REST URL, so it should return the scheme your site is configured to use. Do you have any SSL related plugins active that might affect this?

    Thread Starter xales

    (@xales)

    No. As I can see from the topics below, I’m not the first one with this problem, but there is no solution anywhere.

    Tell me, where is the Title of the main page stored?

    Plugin Author arnaudbroes

    (@arnaudbroes)

    It seems like your site isn’t set to use SSL by the time our plugin determines the REST URL. May I ask who your hosting provider is exactly? In the meanwhile I’ve opened a ticket on our end so we can continue to follow up on this.

    With regard to the homepage title, it’s stored in the aioseo_options record in the options table under Search Appearance > Global > Site Title. It should be a JSON encoded string.

    Thread Starter xales

    (@xales)

    Thanks! Title could be changed.

    The site uses a CDN, but it’s not Cloudflare. Added /wp-json/aioseo/* to exceptions.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘If you click on “Save changes”, nothing happens’ is closed to new replies.