Right, the following code works initially, ie when
http://site_name.co.cc is entered in the browser, the site is displayed as expected and the "modx" subdirectory does not appear in the URL. However, when any link on the site is clicked, even the "Home" link in the horizontal top menu, the "modx" submenu appears in the URL. Any suggestions on ways to hide the subdirectory when browsing to all links on the site?
Regards
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(w{1,3}\.)?site_name\.co\.cc$
RewriteCond $1 !^modx/
RewriteCond %{REQUEST_URI} !^/modx/
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /modx/$1 [L]