G
G
GameNikPy2021-01-07 18:02:32
Apache HTTP Server
GameNikPy, 2021-01-07 18:02:32

How to make a redirect in htaccess to a specific url?

There is a .htaccess file in the root folder of the site. There are also two folders control and view. How to make it so that when entering a specific url, the request goes to the first folder to the main.php file, and in all other cases goes to the view folder. (if in a simple way, then with a certain url there is one working folder, and with the rest another)?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question