Add To Cart

  • MSanad
    Inactive member
  • Topic Author
  • Member
  • Member
More
14 years 5 days ago #6999 by MSanad
Replied by MSanad on topic Re: Add To Cart
Ok here's the solution for anyone else that might run into this problem, I have found this on the VM forum.

add the following in your .htaccess right under mod_rewrite



###### Added by Forrest to insure AJAX cart works by force of www
#
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTPS} =on
RewriteRule .* https://www.%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTPS} !=on
RewriteRule .* http://www.%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
#
########## End - Addition by Forrest

Please Log in to join the conversation.

More
14 years 5 days ago - 14 years 5 days ago #7005 by ivan.milic
Replied by ivan.milic on topic Re: Add To Cart
[strike]Can you sumbit your virtuemart.cfg.php.[/strike]
Sorry I did not saw last post.
Last edit: 14 years 5 days ago by ivan.milic.

Please Log in to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum