Tag Archives: .htaccess

.htaccess File – Modx friendly URLs

# Vital components of your .htaccess file RewriteEngine On RewriteBase / # Force “www.yourdomain.com” instead of just “yourdomain.com” RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com [NC] RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L] # The Friendly URLs part RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d … Continue reading

Posted in CMS, Linux/Unix, Modx | Tagged , | Leave a comment

MODX/CMS – Problem with friendly urls

Problem: I’ve turned on friendly urls in the admin section of modx, when I try to view a page which should show the name of the file eg: about as opposed to id?23  the page doesn’t showup. The Fix: 1.  … Continue reading

Posted in Modx | Tagged , , , | Leave a comment