# The Friendly URLs part RewriteEngine On RewriteBase /modx RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
RewriteBase /modx
RewriteBase /modx/
I think this one needs a trailing slash:
RewriteBase /modx
So it needs to be
RewriteBase /modx/
RewriteRule ^(.*)$ [b]/modx/[/b]index.php?q=$1 [L,QSA]