Answer the question
In order to leave comments, you need to log in
How to redirect from a folder to a subdomain?
Hi all.
The site is located in the folder ${DOCUMENT_ROOT}/folder1/folder2/name.ru/
When you go to this folder, you need to redirect to name.site.net
That is, when you enter the url site.net/folder1/folder2/name.ru/, there was a transition on name.site.net Tell me
how the rule should look like in .htaccess and where should I put it?
The subdomain name.site.net has already been added. When you navigate through it, the site in the name.ru/ folder loads normally.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question