Checkout Popup

  • Posts: 121
  • Thank you received: 1
9 years 3 weeks ago #219689

-- 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

Please Log in or Create an account to join the conversation.

  • Posts: 82909
  • Thank you received: 13379
  • MODERATOR
9 years 3 weeks ago #219694

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.

The following user(s) said Thank You: m.fontana

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 1
9 years 2 weeks ago #219998

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

Please Log in or Create an account to join the conversation.

  • Posts: 82909
  • Thank you received: 13379
  • MODERATOR
9 years 2 weeks ago #220004

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.

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 1
9 years 2 weeks ago #220077

This is my htaccess, have you any suggestion to modify this?

Thanks

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82909
  • Thank you received: 13379
  • MODERATOR
9 years 2 weeks ago #220123

Hi,

Everything before this 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
##
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.

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.063 seconds
Powered by Kunena Forum