Quote from: phayes at Dec 04, 2008, 03:24 PM
Yep. I copied .htaccess from ht.access in both the root and the manager folder. I turned rewrite on in Apache. I set the prefix to path= (per your suggestion) and when I preview a page on the site I see index.php?id=101 (so to speak). I tried setting a location to index.php?page=101 and that gives me the home page (as if no id were specified).
I have done a variety of things during this process, and have set an alias for various documents (since, ultimately, I want to use true friendly urls). Will that impact this? My purpose in doing this is to start from scratch and see what works and what I am doing wrong.
Thanks for the response. Any further wisdom would be useful.
If you want to use "true" friendly urls (ex: aboutus.html), it’s not too difficult. These are the step’s I’ve gone through on 3 different sites.
1. Rename ht.access to .htaccess in the Root & Manager folder.
- If your installation is in the root of your website (meaning, its
not installed in a subfolder like www.yourdomain.com/modx/), you don’t have to edit either of these .htaccess files.
2. Go to Tools > Configuration > Friendly URL’s tab.
3. Turn the option to "Yes".
4. I use the extension .html for my webpages, so the Suffix for friendly URLs is .html
5. That’s it! These steps work for me. Hopefully you can get this to work for you.