Answer the question
In order to leave comments, you need to log in
How to refer to path in url with redirect?
I want to remove a folder from the path. those. to do so, I write in the url - site.com/modul , and this opens - site.com/modules/modul.php , and in the url it is visible as site.com/modul
Answer the question
In order to leave comments, you need to log in
RewriteEngine On
RewriteBase /
RewriteRule ^login$ modules/login.php [NC,L]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question