Under the settings: I have my full-site URL set too: "www .mysite. com" but when I'm typing in "mysite .com" into a browser its not redirecting it to www .mysite .com with the "www" added in. This gives me an UNKNOWN AJAX ERROR when adding products to my cart. Is their a fix for this or is AbanteCart aware of this issue.
I'm also on the HTML5 Template if that helps.
Hello.
If you want to redirect all non-www requests to your site to the www version, all you need to do is add the following code to your .htaccess file
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
This will redirect any requests from http://my-domain.com to http://www.my-domain.com.
Thank you I will give this a shot!