Answer the question
In order to leave comments, you need to log in
Is it possible to redirect from http domain to another https domain (DIFFERENT domains)?
There are two different domains for the same site.
Is it possible to redirect from http domain to another https domain (DIFFERENT domains)?
The domain (additional) has http "name.rf", and the second domain (main) has https "name.ru". Is it possible/can be done?
Answer the question
In order to leave comments, you need to log in
Set a 301 redirect
# пример для nginx
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
return 301 https://example.org$request_uri;
# return 301 https://$host$request_uri;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question