Found CAUSE of Problem – Now How can I Fix it
-
Okay – my wishlist feature was not working at all because it would indicate item was added to Wishlist but when anyone clicked on Browse Wishlist, it was always empty. I kept banging my head for a reason as to why? I scoured the internet for other websites that had the Yith Wishlist plugin and then I began comparing the Index Page SOURCE CODE and I found the problem but I don’t know how to fix it!
For credit card compliance (PCI Compliance) I was required to have the wp-admin and wp-login pages to be secure (https) and I noticed that in the source code for my site it reads as follows for the Yith Wishlist plugin (I changed my web address below in the code to “mydomain” for privacy):
<script type=”text/javascript”>
var yith_wcwl_plugin_ajax_web_url = ‘https://mydomain.com/wp-admin/admin-ajax.php’;
var login_redirect_url= ‘https://mydomain.com/wp-login.php?redirect_to=%2F’;
</script>HOWEVER in other websites using the Yith Wishlist plugin successfully they do NOT have the redirect with “https” for neither the wp-admin nor the wp-login
This presents a big problem because I MUST have those 2 administrative pages secure with httpsSo after discovering this, I tested the Yith Wishlist plugin as any visiting customer but adding an “s” to the browser window so that the shop page was in https mode and then I had no problem viewing the items added to the Wishlist!
So I have found the ROOT of the problem, but is there any way to FIX this issue without unsecuring my admin and login pages?
Why does Yith Wishlist need to access those urls?
Any thoughts would be most appreciated and perhaps can help out any other shop in the same situation Thanks in advance for your valued time and input!
https://www.ads-software.com/plugins/yith-woocommerce-wishlist/
- The topic ‘Found CAUSE of Problem – Now How can I Fix it’ is closed to new replies.