Answer the question
In order to leave comments, you need to log in
How to make a 301 redirect from a subdomain directory to a domain directory?
Now I do this:
RewriteCond %{HTTP_HOST} ^gidranty.ispytanie01.ru
RewriteRule ^(.*)$ http://ispytanie01.ru/vodosnabzhenie/$1 [L,R=301]
Redirect 301 http://gidranty.ispytanie01.ru/spb http://ispytanie01.ru/spb/vodosnabzhenie
Answer the question
In order to leave comments, you need to log in
gidranty.ispytanie01.ru/spb/vodosnabzhenie translates to ispytanie01.ru/vodosnabzhenie/spb/vodosnabzhenie. That is, it seems close, but dregs :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question