AbanteCart Community
Shopping Cart Operations => Support => Topic started by: cymru78 on May 13, 2022, 08:49:52 AM
-
Hi,
I have got my main website and three other domains that point to the main site.
When I go to my site using the other domains, the little Add to Cart icon is just a blank square.
Does anyone know why this might be happening, and how I could fix it?
Thank you.
-
Hello.
This can happen if your store URL and the URL you visit are not the same such as www.store.com vs store.com etc
-
Hi,
I forgot that I made this post. Oops.
Is there a way of fixing this at all?
My main domain is flauntitvintage.co.uk and the other domain, which redirects, is prewornclothing.co.uk
Actually, I have two domains that direct to the main one.
In fact, I've just realised the blank square also displays for www.flauntitvintage.co.uk as well, which I never noticed before.
-
Try to clean AbanteCart cache
-
Unfortunately, it doesn't look like that's worked
-
Hello.
flauntitvintage.co.uk icons look fine on my side. And you redirect to the wrong site. Your store url is flauntitvintage.co.uk, not www.flauntitvintage.co.uk so fix your redirects
-
Thank you
I seem to be getting somewhere.
flauntitvintage.co.uk / flauntitvintage.com / prewornclothing.co.uk / prewornclothing.com all seem to be working fine now, with and without the www's
The only one that doesn't seem to be working is www.flauntitvintage.co.uk
In the back-end (set as https), if I change the Secure Store URL setting to www.flauntitvintage.co.uk it works, but then it stops working when accessing the site without the www's
Any ideas?
-
Hello.
www.flauntitvintage.co.uk and flauntitvintage.co.uk are 2 different URLs. Add a redirect from www. to your store URL
-
Hello.
This can happen if your store URL and the URL you visit are not the same such as www.store.com vs store.com etc
-
Unfortunately, it doesn't look like there is a way for me to set up a redirect because this is where my store is hosted.
I think I might have to contact my hosting provider to see if it can be done. But at least all the other ways are now working and it's not very often someone will type www. to access my site anyway.
-
Hello.
You can setup a redirect in the .htaccess file
-
I didn't know that, so thanks.
However, I've just done another quick refresh of the cache and it now seems to be working fine no matter which domain I use to enter the site.
Thanks for the help.