Answer the question
In order to leave comments, you need to log in
Why is 301 redirect not working in MODX?
In general, the point is that in .htaccess there are redirects in the
redirect 301 /old_page site.ru/new_page style,
but when you go to the site.ru/old_page page, instead of redirecting to site.ru/new_page, will it redirect me to the site.ru/new_page page? q=pages/new_page that is, adds ?q= to the end of the link, etc.
Most likely this is due to this entry in .htaccess
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
but without it the site does not work at all
How can I fix this ?
Answer the question
In order to leave comments, you need to log in
use the Redirector addon and don't mess
with modx.com/extras/package/redirector
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question