как убрать с названия лишний блок "/modx"
например
показывает
http://plastpaket.com.ua/modx/kontakty
http://plastpaket.com.ua/modx/
а нужно
http://plastpaket.com.ua
http://plastpaket.com.ua/kontakty
и параллельно остаются работать
http://plastpaket.com.ua/modx//index.php?id1
в .htaccess стоит
# deny access to _all_ files in the core, including changelog.txt and error.log
# original borrowed from owncloud
# line below if for Apache 2.4
<ifModule mod_authz_core.c>
Require all denied
</ifModule>
RewriteBase /modx
# line below if for Apache 2.2
<ifModule !mod_authz_core.c>
deny from all
Satisfy All
</ifModule>
# section for Apache 2.2 and 2.4
IndexIgnore *