• Resolved marpa

    (@marpa)


    I cannot get this plugin to work in an instance of WordPress multisite that uses SSL for login and admin pages as specified in the wp-config.php file:
    define( ‘FORCE_SSL_LOGIN’, true );
    define( ‘FORCE_SSL_ADMIN’, true );

    When FORCE_SSL_ADMIN and FORCE_SSL_LOGIN are set to true, no dropdown is triggered and we get the following error:
    The ‘Access-Control-Allow-Origin’ header contains multiple values ‘https://domain.com, https://domain.com’, but only one is allowed

    When FORCE_SSL_ADMIN is set to false the plugin works fine.

    I think we may need to enable Cross-Origin Resource Sharing (CORS) on our site, but not certain. If CORS is needed, not sure how to implement in WordPress…

    https://www.ads-software.com/plugins/search-autocomplete/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Cross-Origin Resource Sharing Errors’ is closed to new replies.