Answer the question
In order to leave comments, you need to log in
Redirect and robots.txt?
There is a site on modx. It works redirect from www to a domain without www. But at the same time, when opening the robots.txt file, the redirect does not work.
Code in httacces
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\ele\.ru$ [NC]
RewriteRule ^(.*)$ ele.ru/$1 [R=301,L]
RewriteEngine On
RewriteBase / Tell me
what Could it be the issue and how can I fix it?
Answer the question
In order to leave comments, you need to log in
Can you tell me what could be wrong and how can I fix it?
It seems that .txt gives nginx without the participation of apache.
You need to set up redirect in it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question