- Posts: 606
- Thank you received: 13
SSL redirect for checkout
- mohairbears
-
Topic Author
- Offline
<?php
if(strtolower($_SERVER) != "on"){
$app =& JFactory::getApplication();
$requestUri = $_SERVER;
if (!empty($_SERVER)) $requestUri = rtrim($requestUri,'/').'?'.$_SERVER;
$app->redirect(' XXXXXXXX.secure-secure.co.uk/mohairbearm....co.uk/'.$requestUri );
}
/**
* @package HikaShop for Joomla!
* @version 1.6.0
* @author hikashop.com
* @copyright (C) 2010-2012 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html
*/
Please Log in or Create an account to join the conversation.
The last Hikashop version include a shared SSL option in the main configuration, you should take a look at it
System>Configuration>Checkout option "Force SSL on checkout".
Please Log in or Create an account to join the conversation.
- mohairbears
-
Topic Author
- Offline
- Posts: 606
- Thank you received: 13
Forbidden
You don't have permission to access /index.php/component/hikashop/checkout on this server.
also tried with the code in shared SSL as this is a shared SSL.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- mohairbears
-
Topic Author
- Offline
- Posts: 606
- Thank you received: 13
Please Log in or Create an account to join the conversation.
- mohairbears
-
Topic Author
- Offline
- Posts: 606
- Thank you received: 13
Please Log in or Create an account to join the conversation.
- mohairbears
-
Topic Author
- Offline
- Posts: 606
- Thank you received: 13
Please Log in or Create an account to join the conversation.
Could you give it to me? If it doesn't work like this then it's probably the address which is wrong and the origin of the issue.
Please Log in or Create an account to join the conversation.
- mohairbears
-
Topic Author
- Offline
- Posts: 606
- Thank you received: 13
Thanks for contacting us. This is the correct URL but it looks like the Joomla rewrite files (htaccess) and other configuration are interfering with this. I would advise checking on the Joomla forums for work arounds because by default Joomla does not work under the shared SSL.
the address does work as I have also checked it.
Please Log in or Create an account to join the conversation.
You should look forward about issues between this host and joomla because I can't help you anymore.
Please Log in or Create an account to join the conversation.
- mohairbears
-
Topic Author
- Offline
- Posts: 606
- Thank you received: 13
when's Nik on as I am sure he will know the answer?
thanks
Please Log in or Create an account to join the conversation.
If you get an error after the redirection, it probably means that the SSL website is not working.
That's why eliot asked you the SSL URL so that he could make sure that it's working.
I don't see any reason which would require a change in HikaShop code.
Could you please give the SSL URL you're using ?
Sorry for the answer of eliot, it's not want he wanted to say. He still has to improve his english
Please Log in or Create an account to join the conversation.
- mohairbears
-
Topic Author
- Offline
- Posts: 606
- Thank you received: 13
web110.secure-secure.co.uk/mohairbearmakingsupplies.co.uk/
thanks
Please Log in or Create an account to join the conversation.
That link is not displaying anything. I'm getting the error:
Not Found
The requested URL /mohairbearmakingsupplies.co.uk/ was not found on this server.
Normally, before you activate the SSL redirection on HikaShop, that URL has to display your website.
Since that is not the case, it's normal that it doesn't work.
Having that URL display your website is something which should be setup by your hosting company normally. As I feared, it seems that your hosting company does not configure the shared SSL URL so that it automatically displays your website.
Unfortunately, we can't do anything on that and as eliot said, you'll need to see that with your hosting company.
Once you have your website displaying when you go to web110.secure-secure.co.uk/mohairbearmakingsupplies.co.uk/ then you can simply enter that URL in the shared SSL option of HikaShop and it should work.
Please Log in or Create an account to join the conversation.
- mohairbears
-
Topic Author
- Offline
- Posts: 606
- Thank you received: 13
Please Log in or Create an account to join the conversation.