I’m adding friendly urls to a revo site in development.
.htaccess files looks like this:
RewriteEngine On
RewriteBase /modx/
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.mydomain\.org [NC]
RewriteRule (.*)
http://www.mydomain.org/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /modx/index.php?q=$1 [L,QSA]
In System->System Settings:
Use Friendly Urls: Yes
Use Friendly Aliases: No
Use Friendly Alias Path: No
This url:
http://www.mydomain.org/modx/index.php?id=216
becomes this:
http://www.mydomain.org/216.html
Unfortunately the latter is apparently not a valid address, so it produces a 404 error . . .
So it’s loading the site, but not finding the page . . .
Any suggestions?
Thanks!
Terry