I
I
ivgenij72015-11-13 13:00:50
htaccess
ivgenij7, 2015-11-13 13:00:50

How to set up a .htaccess 301 redirect from / (index) to /subdirectory?

you need to set up a 301 redirect only from site.ru/ to site.ru/shop so that site.ru/blog, site.ru/info open, tell me
how?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaliy Orlov, 2015-11-13
@orlov0562

So try:
or so
RewriteRule ^/$ http://www.xyz.com/shop [L,R=301]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question