Looks like I got the friendly urls working without the .html - I deleted .html from the content types and left it blank.
Well, I changed the links to the stylesheets to absolute links and it works, but I'm not sure why the structure works with pages, but not containers.
If any one can enlighten me, I would appreciate it.
-
- 13 Posts
Only things that spring to mind is the RewriteBase and <base> tag. You seem to have both of those set up correctly though. Might want to use something like the Developer Tools in Chrome/Firefox/IE and check logs to find where it's really looking for the files.
What version of Revo are you using? If you're having problems with links to the css it's either the way they are written or the way your .htaccess rules are configured. What we do on MODX.com is make the CSS files create a system setting vs just relative paths that gives us the flexibility to move them elsewhere like a CDN.
<link rel="stylesheet" href="[[++assets.url]]css/style.css">
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub
Perhaps it's my .htaccess rule. I'm using the latest version of Revo. I didn't make any changes to the .htaccess when I installed other than a small change that I needed for php 5.3 - Do I need to indicate the base url in the htaccess?