Buy button not working on Chrome

More
7 years 8 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 or Create an account to join the conversation.

More
7 years 8 months ago - 7 years 8 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: 7 years 8 months ago by ivan.milic.

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

More
7 years 8 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 or Create an account to join the conversation.

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

#RewriteBase /

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

Moderators: milos
Time to create page: 0.104 seconds