Answer the question
In order to leave comments, you need to log in
.htaccess: how to change url correctly?
Hello. I know the topic is hackneyed, but, I confess, I searched Google for the answer to my question, I kind of found it, but it still doesn’t work in the way I need ... I also admit that I really don’t understand .htaccess, so I just copy-paste. Actually, the question is this.
We have the following structure: http://site.ru/article/name/index.php
How to make the URL be the following: http://site.ru/name/
, and so that when you go to this address, the content that is located here: http://site.ru/article/name/index.php
.
All I can do is http://site.ru/article/name/index.php
truncate the URL string when switching to , but it is not going to work article
without specifying index.php
or when switching to.
Thanks in advance. http://site.ru/name/
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