S
S
Senseich2018-05-17 13:36:02
Programming
Senseich, 2018-05-17 13:36:02

How to make it so that the list of files is not visible when going to the address?

Hello! I didn’t know in which categories to write, I hope at the address
) I don't know much about .htaccess files and redirects yet. Tell me how to do it right. I have a WordPress site, I created a "site" directory in the root, in it there are folders with my sites. So, if you go to moysayt.ru/site/, then actually there is a list of directories.
5afd5af96b300364640556.jpeg
How can I make the main page of mysite.ru open when visiting this address? Of course, I can put some kind of stub page there, but it’s better for me to have a transition to the main one, but at the same time, so that when you go to the site directory, for example, mysite.ru/site/Logotip/, the site itself opens, without a redirect to the main one. I hope I wrote clearly)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Nagibovich, 2018-05-17
@Senseich

Look here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question