Answer the question
In order to leave comments, you need to log in
How to use ModRewrite to change the address of a file?
Hello!
Let's say I have a main page (index.html) and an actions folder that contains various php files. On the main page there is a "registration" button, which, when clicked, redirects to site.ru/register. In the actions folder there is a register.php file for registration. How can I make it so that that php file opens at site.ru/register, but so that site.ru/register is in the address bar?
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