N
N
Newbie VPO2022-02-06 14:54:32
htaccess
Newbie VPO, 2022-02-06 14:54:32

How to fix via .htaccess?

Good evening, there was a problem, I can’t redirect to the main page, let’s say I have a site with a domain, but it should be searched under the name site.ru/index.html, but I want to do this site.ru and the user goes to index .html, how to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2022-02-06
@NEznAikA134

Add directive
DirectoryIndex index.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question