WordPress HTTPS (SSL)
[resolved] HTTPS Shared SSL errors (5 posts)

  1. 420DankStank
    Posted 3 years ago #

    Hello. I am trying to set a page on my website to have HTTPS security. I have managed to enter all of the shared network information so that when I go to the page, The lock is green and no errors come up. However, there is a plugin on the page that comes up with errors when I click the submit button.

    The page at https://wash20.cbeyondhosting2.com/verification-test/ displayed insecure content from http://althealththc.com/wordpress/wp-content/plugins/mmjverify_shortcode/verify.php.
    XMLHttpRequest cannot load http://althealththc.com/wordpress/wp-content/plugins/mmjverify_shortcode/verify.php. Origin https://wash20.cbeyondhosting2.com is not allowed by Access-Control-Allow-Origin.

    I understand that I made the page https and it is trying to call from the plugin that is http. How do I make the plugin itself be called from https?


  2. 420DankStank
    Posted 3 years ago #

    I'm looking at it, and I'm thinking that the plugin is currently calling from the site at: http://althealththc.com/wordpress/wp-content/plugins/mmjverify_shortcode/verify.php

    So if I change it to call from: https://wash20.cbeyondhosting2.com/wordpress/wp-content/plugins/mmjverify_shortcode/verify.php, then that may be the correct location for it to call from a secured page?

  3. 420DankStank
    Posted 3 years ago #

    In my javascript file, I changed the URL to call from https://wash20.cbeyondhosting2.com/wordpress/wp-content/plugins/mmjverify_shortcode/

    I cleared my cache and still come up with the same error. It seems to still call from http. Please help!

  4. 420DankStank
    Posted 3 years ago #

    With research, I am finding that I will need to setup JSONP or CORS. Not sure where or what to include in the code. Any help?

  5. 420DankStank
    Posted 3 years ago #

    Two things were done to fix my issue.

    1)on my JS file, I altered the calling src

    by removing the http

    2) went to the main mmjverify_shortcode.php file and added to the top

    <?php header('Access-Control-Allow-Origin: *'); ?>

    The plugin is now calling from the src! Thanks for all of those that helped me. Oh wait, that would be my own smart brain.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress HTTPS (SSL)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic