can not upload product image

Avatar
  • Answered
there is default www in the url how we can remove www ?
Avatar
anonymous
Hello,

Thank you for your question regarding your .htaccess. You can setup a 301 redirect in the ,htaccess to go from www to non-www by using the following code.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]

Best Regards,
TJ Edens