L
L
lapka-admin2018-07-05 12:09:26
htaccess
lapka-admin, 2018-07-05 12:09:26

Why does it redirect to index.php?

When I enter a page into a line in Russian letters, for example site.ru/page, it redirects to site.ru/index.php/page.
I can't figure out what's wrong, I think it's an error in htaccess:

RewriteEngine On
RewriteRule ^$ index.php [QSA]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]

RewriteCond %{HTTPS} =off 
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [QSA,L]

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