E
E
eugene1592020-12-31 11:24:26
MODX
eugene159, 2020-12-31 11:24:26

How to make a redirect from my-site.ru/index.php to my-site.ru in Modx Revo?

I want to redirect from my-site.ru/index.php to my-site.ru. I found this topic:
https://modx.pro/help/7216
There is a code for .htaccess:
https://modx.pro/help/7216#comment-50630
But the topic says about the plugin. It seems to me that the plugin will work better than the .htaccess code. And if I have nginx hosting, then even more so.
I don't understand what plugin they are talking about? Can you suggest me to download it? Or do you have to write it yourself? If by yourself, what events should be set for the plugin? The code is there, but no one writes about the events.
Or how else can you redirect from my-site.ru/index.php to my-site.ru.

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