Post by saltsalty » Tue Jun 17, 2014 4:29 am

Hi,

My site http://www.gifthampersbypost.co.uk is having an issue, when a customer tries to add a product to there cart it doesn't always work, sometimes it does sometimes it doesn't, it's not specific to just one browser either. The products are always in stock and can again vary from product to product.

Any suggestions would be great.

New member

Posts

Joined
Fri Mar 16, 2012 5:32 pm

Post by saltsalty » Tue Jun 17, 2014 4:32 am

Meant to say willing to pay to get it fixed.

New member

Posts

Joined
Fri Mar 16, 2012 5:32 pm

Post by granddaddy » Tue Jun 17, 2014 5:47 am

This is a known bug. If you visit your site using "www" you''ll see the buttons don't work on the home page. But if you visit the site using just the domain name without a "www" you'll see they now work.
The solution is to use htaccess to remove any www from a visitor's request so it will match the format of your config files.
Open .htaccess
Find the line:
RewriteBase /
Just below it, insert these two lines:
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

Active Member

Posts

Joined
Sat Feb 18, 2012 5:48 pm

Post by saltsalty » Tue Jun 17, 2014 7:50 am

Thanks seemed to have done the trick :)

New member

Posts

Joined
Fri Mar 16, 2012 5:32 pm
Who is online

Users browsing this forum: No registered users and 46 guests