News:

AbanteCart v1.4.2 is released.

Main Menu

Add To Cart not displaying on other domains

Started by cymru78, May 13, 2022, 08:49:52 AM

Previous topic - Next topic

cymru78

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.

Basara

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

cymru78

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.

Basara


cymru78

Unfortunately, it doesn't look like that's worked

Basara

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


cymru78

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?



Basara

Hello.

www.flauntitvintage.co.uk and flauntitvintage.co.uk are 2 different URLs. Add a redirect from www. to your store URL

Basara

Quote from: Basara on May 13, 2022, 09:25:21 AM
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

cymru78

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.

Basara

Hello.
You can setup a redirect in the .htaccess file

cymru78

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.

Forum Rules Code of conduct
AbanteCart.com 2010 -