My site: discountirrigation.com

The SSL was recently applied to all pages of the site instead of just the checkout. However, I can not sort or change the product layout view or select a product category after a search on the https version. The page will just freeze with the loading wheel spinning. If I do the same action on the http version, it works fine. What could be the cause of this?


You can find the following error when you try to switch the layout or apply sorting in the console log of your browser (i.e. hit F12 in your browser):

Mixed Content: The page at 'https://www.discountirrigation.com/electrical/cable.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.discountirrigation.com/electrical/cable.html?mode=list&ajaxcatalog=true'. This request has been blocked; the content must be served over HTTPS.

This means, that your store was loaded via https (secured connection), yet the ajax call that is handling the the troublesome actions was called via http (insecure connection).

When setting up a Magento store properly to run on https this however should not be an issue. The fact that your store is reachable over http AND https makes me believe that there is an issue in your setup.

The easiest way to address the problem might be to change your Secure and Unsecure URLS in System -> Configuration -> GENERAL -> Web to https://www.discountirrigation.com as shown in the example screen below.

After applying that change, make sure you clear all your caches.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.