Answer the question
In order to leave comments, you need to log in
Why is MODX giving 404 on the main page in context?
Created a context for modx. I decided to switch it by url. Made the plugin according to the instructions . Created a rule in .htaccess
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(context|context1)?/?(.*)$ index.php?contextKey=$1&q=$2 [L,QSA]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question