Checkout Popup
11 years 3 weeks ago #219689
by m.fontana
Checkout Popup was created by m.fontana
-- url of the page with the problem -- :
www.hydradetergenti.com
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
Hi,
I add a module into home page of my site, if I go into an article and then I add this on cart into pop up appeared the home page (try on this link hydradetergenti.com/preferiti/product/de...so-igienizzante.html ); if I go on the same article from menù everything is ok (try on this link hydradetergenti.com/bagni/product/deterg...so-igienizzante.html ).
What can I do for solve this?
Thanks
Matteo Fontana
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
Hi,
I add a module into home page of my site, if I go into an article and then I add this on cart into pop up appeared the home page (try on this link hydradetergenti.com/preferiti/product/de...so-igienizzante.html ); if I go on the same article from menù everything is ok (try on this link hydradetergenti.com/bagni/product/deterg...so-igienizzante.html ).
What can I do for solve this?
Thanks
Matteo Fontana
Please Log in or Create an account to join the conversation.
11 years 3 weeks ago #219694
by nicolas
Replied by nicolas on topic Checkout Popup
Hi,
If you check at the requests made by your browser when adding the product to the cart on that page you can see that:
take.ms/Y66Qn
So the URL called for the popup notice is correct, but the website redirects it to the homepage.
This indicates that you have a htaccess which redirects the non www URLs to the homepage with the www, and that you have the URL without the www in the live_site parameter of your configuration.php
So first, fix the URL in the live_site parameter. That should fix the problem.
Also, in your htaccess, you should change your redirection rule to redirect non www URLs to the same URLs with the www prepended instead of redirecting them all to the homepage.
If you check at the requests made by your browser when adding the product to the cart on that page you can see that:
take.ms/Y66Qn
So the URL called for the popup notice is correct, but the website redirects it to the homepage.
This indicates that you have a htaccess which redirects the non www URLs to the homepage with the www, and that you have the URL without the www in the live_site parameter of your configuration.php
So first, fix the URL in the live_site parameter. That should fix the problem.
Also, in your htaccess, you should change your redirection rule to redirect non www URLs to the same URLs with the www prepended instead of redirecting them all to the homepage.
The following user(s) said Thank You: m.fontana
Please Log in or Create an account to join the conversation.
11 years 2 weeks ago #219998
by m.fontana
Replied by m.fontana on topic Checkout Popup
Hi,
I fix the live_site, but I don't know how to modify the htaccess
, sotty can you explain me better this step?
Thanks
Matteo
I fix the live_site, but I don't know how to modify the htaccess
Thanks
Matteo
Please Log in or Create an account to join the conversation.
11 years 2 weeks ago #220004
by nicolas
Replied by nicolas on topic Checkout Popup
Hi,
I don't know what code you have in your htaccess to handle the redirection of the www URLs and on top of that, that's outside HikaShop's setup.
You should seek advice with the person who modified your htaccess (or maybe your hosting company). Someone must have changed it as there is no such www redirect by default with Joomla.
I don't know what code you have in your htaccess to handle the redirection of the www URLs and on top of that, that's outside HikaShop's setup.
You should seek advice with the person who modified your htaccess (or maybe your hosting company). Someone must have changed it as there is no such www redirect by default with Joomla.
Please Log in or Create an account to join the conversation.
11 years 2 weeks ago #220077
by m.fontana
Replied by m.fontana on topic Checkout Popup
This is my htaccess, have you any suggestion to modify this?
Thanks
Thanks
Please Log in or Create an account to join the conversation.
11 years 2 weeks ago #220123
by nicolas
Replied by nicolas on topic Checkout Popup
Hi,
Everything before this code:
has been added by someone and isn't be default in Joomla.
If you remove it, that should remove the issue, but I would prefer that you contact the person who added that and check with them why they added all that.
Everything before this code:
Code:
##
# @package Joomla
# @copyright Copyright (C) 2005 - 2015 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##
If you remove it, that should remove the issue, but I would prefer that you contact the person who added that and check with them why they added all that.
The following user(s) said Thank You: m.fontana
Please Log in or Create an account to join the conversation.
Time to create page: 0.076 seconds