Quote from: sottwell at Dec 01, 2010, 06:05 PM
1. That’s because the main index (home) page is set to be your "not found" page in your site’s configuration. You can modify the usual MODx "404" behavior with a plugin using the OnPageNotFound event (or whatever that event is called in the version you’re using).
2. Since all resources are accessed from the main MODx index.php file, as far as I know there’s no way to do that. You can, however, configure FURLs to use paths based on the resource tree structure, for example you could have mysite.com/news/august/big-august-sale.html
Re your point #1, thanks - I’ve got it now.
I’m still really struggling with point 2 though. I already have FURLs configured to use paths based on the resource tree structure (really nice). I would like "mydomain.com/news" to resolve to "mydomain.com/news/index.html"
Web host already looks in subdirectories for a set of files (index.html or index.php, etc.), however since moving my site to ModX and implementing the following rule:
RewriteRule ^/(?!(?:manager|assets)/)(.*)\.php(?:\?(.*))?$ /index.php?q=$1?2&$2: [NC,L,U]
This isn’t happening any more. (It’s an issue because I have personally invested in marketing that points people to mysite.com/subdir). I do already have a resource under the "subdir" container with the url-alias set to "index" and as you can see my Friendly URL extension is .php
So I’m guessing it’s just a case of modifying my htaccess file (see my post where I’ve included my current htaccess file above) which must be currently preventing this.
Any help greatly appreciated.