- Posts: 10
- Thank you received: 0
Buy button not working on Chrome
-
marx
Inactive member - Topic Author
- New Member
Less
More
12 years 6 months ago #20296
by marx
Buy button not working on Chrome was created 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
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 months ago - 12 years 6 months ago #20314
by ivan.milic
Replied by ivan.milic on topic Buy button not working on Chrome
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]
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
Less
More
- Posts: 10
- Thank you received: 0
12 years 5 months ago #20352
by marx
Replied by marx on topic Buy button not working on Chrome
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
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 5 months ago #20364
by ivan.milic
Replied by ivan.milic on topic Buy button not working on Chrome
Comment RewriteBase / with # like this
#RewriteBase /
#RewriteBase /
Please Log in to join the conversation.
Time to create page: 0.139 seconds