Answer the question
In order to leave comments, you need to log in
Redirect from www to non-www opencart 2.1?
Made a redirect via .htaccess
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
The redirect worked, but the fonts broke and I can’t log in, mb there are other redirect options?
Answer the question
In order to leave comments, you need to log in
I think there is a problem with base.
try to remove the www in the HTTPS_SERVER and HTTP_SERVER constants, if it is not removed there, and see that the urls are formed everywhere without www
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question