This is quite unusual. Are you using any Add-Ons/Extras yet? AFIAK .htaccess cannot even know your IDs. One thought, FURLs behaves funny if you don't have Use Friendly Alias Path (in System Settings) turned on and you have pages of the same alias on multiple levels. You might check this setting?
P.S.: You must refresh your cache after changing this setting.
Yeah, I have various add-ons, but nothing too exotic.
Here's an interesting twist: I discovered that if I specify the alias when editing the container resources, then that appears instead of the ID.
(By the way, I've decided for this particular site I don't want the friendly alias paths after all, but it would still be nice to figure this out for future reference.)
-
☆ A M B ☆
- 24,524 Posts
If you don't specify an alias, what can MODx do? It has to put something in there. The ID is a logical consistent value.
Oh! Stupid me!!! How could I have overlooked the obvious!? @sottwell is absolutely correct. ROFLLLLLLMBO.
discuss.answer
-
☆ A M B ☆
- 24,524 Posts
That I don't know. It can use the pagetitle as the alias, but apparently it doesn't do that when generating the path.
why is it that MODX can generate aliases automatically in the other cases, but not when they are nested in a path?
This was probably an implementation decision as Resources are resource heavy enough as it is. If you don't have full-alias path set, it assumes that you don't want a full path. Therefore it won't generate one. If you want a path, set the Setting, otherwise accept that the system will make a poor decision (as most systems do when you aren't explicit about what you want).