Modx Friendly URL's

Instructions to enable friendly url's

Modx Version: 3.0.4

  • Edit the .htaccess file in the Modx root and make sure the following code is present:

# The Friendly URLs part
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

  • Go to System settings type "friendly" in the search bar, make sure that "Use Friendly URLs" is set to "YES".
  • Go to Contetn>Content type and under HTML, edit and remove the extension (to not show .html in the url's)
  • If necessary clear cache and test.