M
M
mius_it2020-05-21 14:37:06
Nginx
mius_it, 2020-05-21 14:37:06

How to make a redirect to joomla+ispmanager+nginx for addresses with parameters?

Hello!
There is a site on joomla3. There is access to the "redirects" functionality in ispmanager. There is access to editing the nginx config. There is a Joomla "redirect" functionality.

My task is to redirect all addresses like "index.php?option=com_jea..." with continuations to the main one with 301 code. And no matter how I put a square cube into a round hole in all the editors described above, nothing came of it. Please tell me the solution.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2020-05-21
@mius_it

if ($arg_option = "com_jea") {
    return 301 /;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question