A
A
Aljo2022-04-20 07:46:35
MODX
Aljo, 2022-04-20 07:46:35

Why does the redirect from index.php?id=1 to the main page not work?

Hello, I installed the translit add-on, here is a piece of htaccess code:

# The Friendly URLs part
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]


But the main page still opens at site.ru/index.php?id=1 .
I don't understand why and what should I do? I've tried everything from the internet

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
roswell, 2022-04-20
@roswell

You need to set the friendly_urls parameter to Yes in the system settings (Yes, Oui, Ja, etc.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question