Strange problem... I'm new to revo, but have some experience in evolution (not admin, though). I'm setting up my first few sites right now, and I've discovered that none of my sub pages seem to be available. They're all published, I've got FURLs off, and I'm trying to access them by id number (both in links and in direct typing) and they all give me my host's generic 404 error. I've even got my custom 404 page set in the system site settings, and it's still giving me my host's 404, not the custom 404.
Is there some setting somewhere I have to check to allow sub-pages to be accessed? And anyone know why the custom 404 setting isn't working?
FYI, the custom "site unavailable" page does work when I have the site turned off...
Ok, i've partially solved my problem... Turns out that in Revolution (at least the way I have it configured) I have to set my links as "index.php?id=" in order to get the ID to work. I'm on a commercial host (hostgator) and don't know how to make the friendly urls work (following the instructions didn't help me). In Evolution I was used to just simply putting the link as <a href="/id#"> or <a href="/friendlyURL"> and having it work. Apparently that doesn't work here. Is there a way to set up Revolution so that I can just have a /id# or /friendlyurl take me to the page, so that I don't have to mess with the index.php?id= part of it? I don't mind doing that myself, but my clients won't want to deal with that when working on their own pages...
Also still haven't figured out why my custom 404 settings aren't working...
-
☆ A M B ☆
- 24,524 Posts
Any time you're not using friendly URLs that's the correct URL for a page, index.php?id=xxx where xxx is the actual ID of the resource.
If the .htaccess is in the MODx installation folder and the rewriteBase line has the correct value, then friendly URLs will work exactly as with Evo. There is one difference, however. The suffix (.html, .css, etc) is automatically determined by the mime-type of the document. Usually that's text/html, and will have a suffix of .html. There is a way to override this, but I'm not familiar enough with Revo yet to be able to tell you how to do that.