Hi! tell me how to remove the www domain, on hosting in the htaccess file
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.site.ru$ [NC]
RewriteRule ^(.*)$ http://site.ru/$1 [R=301,L]
The hosting's response is technical support:
Most likely, the problem when adding redirection rules to. htaccess is related to errors caused by internal routing of scripts.
Unfortunately, we do not know the structure of the scripts of the site used.
In this case, I recommend that you additionally contact the developer to add the correct redirection rules from the www subdomain to the main domain