I have a Magento website and have enabled https:// across the whole site by configuring the unsecure Base URL. The site also uses the following API URL which CANNOT be https, but because of the config settings is redirects to https:
http://www.domain.com/index.php/api/v2_soap/index/?wsdl=1
Is there a way that I can exclude certain URLs from using secure URLs?
-
enable https only for secure pages and than use https for required pages. so that remaining pages will exclude from https.Baby in Magento– Baby in Magento2016年01月06日 18:04:15 +00:00Commented Jan 6, 2016 at 18:04
1 Answer 1
Extend Magento's controller that forces the redirect to https (about the controller). When your module detects this URL instruct Magento to bypass the https redirect.
-
If you continue to have problems I'll provide a code example.Jim of the Stone Age– Jim of the Stone Age2016年01月09日 22:09:09 +00:00Commented Jan 9, 2016 at 22:09
-
Im having the exact same problem and it's giving me headaches. @AdamMoss We're you able to fix this using iusemagentonow's answer? Could either of you post an code example?Ottonet– Ottonet2016年01月26日 12:31:50 +00:00Commented Jan 26, 2016 at 12:31
-
I've played around in this file but I can't identify how to stop this redirecting. I tried putting this around the rewrite method in the dispatch(0 function: if ($request->getRequestUri() !== "/api/v2_soap/index/?wsdl=1") { $this->_getRequestRewriteController()->rewrite(); } but no luck.Adam Moss– Adam Moss2016年02月02日 11:20:25 +00:00Commented Feb 2, 2016 at 11:20
Explore related questions
See similar questions with these tags.