Buy button not working on Chrome

  • marx
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 6 months ago #20296 by marx
Hi Ivan
On www.smarties.gr - While in IE and firefox there are no problems. In Chrome the Buy Button does not work. could u pls advise? thnk u in advance

Please Log in to join the conversation.

More
12 years 6 months ago - 12 years 6 months ago #20314 by ivan.milic
It does not work when you don't have www. in your address bar link. You can solve that using url rewrite

in .htaccess after this:

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

add this:

RewriteBase /

RewriteCond %{HTTP_HOST} ^yoursite\.com$ [NC]
RewriteRule ^(.*)$ www.yoursite.com/$1 [L,R=301]

RewriteCond %{HTTPS_HOST} ^yoursite\.com$ [NC]
RewriteRule ^(.*)$ www.yoursite.com/$1 [L,R=301]
Last edit: 12 years 6 months ago by ivan.milic.

Please Log in to join the conversation.

  • marx
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 5 months ago #20352 by marx
Hi again
I wrote the following in the original .htaccess
RewriteBase /
RewriteCond %{HTTP_HOST} ^smarties\.gr$ [NC]
RewriteRule ^(.*)$ www.smarties.gr/$1 [L,R=301]

RewriteCond %{HTTPS_HOST} ^smarties\.gr$ [NC]
RewriteRule ^(.*)$ www.smarties.gr/$1 [L,R=301]

but i get in return in the address bar

smarties.gr/www.smarties.gr/www.smarties....gr/www.smarties.gr/

Thank you

Please Log in to join the conversation.

More
12 years 5 months ago #20364 by ivan.milic
Comment RewriteBase / with # like this

#RewriteBase /

Please Log in to join the conversation.

Time to create page: 0.139 seconds
Powered by Kunena Forum