Hi, our website www.evolve.uk.net runs on MODx Revolution and uses the friendly urls feature. In order to create 3 menus i’ve created virtual directories in MODx, but this unfortunately leads to them being included in the URL. Browsing the website you will notice /main-menu/ and /utilities-menu/ is included.
What I need to do is remove these from the URL using htaccess. I’ve been trying all afternoon but with no luck. The closest I came is this, which did remove the directory, but every page redirected me back to the home page…
RewriteRule ^main-menu/(.*)$ http://www.evolve.uk.net/$1 [R=301,L]
Any ideas please? Thank you