N
N
neoneel2017-02-18 14:44:06
PHP
neoneel, 2017-02-18 14:44:06

How to redirect to another site file?

All requests on the site are redirected to index.php . It was necessary that the page with registration/login opens not in index.php , but for example in login.php , in another subcategory... I roughly understand the logic of how it should be: check what request is in the address bar, and depending on whether there is such file to redirect this request to login.php. how to do this through .htaccess, I don’t understand the syntax, that’s why I asked for help?
the problem was solved by adding redirect exceptions

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
niksee, 2017-02-18
@niksee

via htaccess

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question