Hi, just upgraded from 2.08 to 2.11 and noticed that Alias is now required with FURLs on.
I have a lot of documents that are not intended to be used alone as URL’s, so I don’t want to give them Aliases. For example, a list of Featured Products, weblinks that have Titles that match the product’s names. I use these documents to build a list of featured products and change them frequently.
Now if I edit any of these pages I’m required to give an alias, which I don’t need. If I turn on Automatic FURLs, it tries to use the title which already matches other pages. I have a lot of these ’helper’ documents that don’t need aliases.
I’m requesting that Alias not be *required* with FURLs on, just suggested.
How about a warning message instead of *requiring* them when editing the document?
thanks,
---todd
What alias do I have to use for the start page? Till today we left the field empty but this is not accepted anymore by 2.1.1. Does anybody have an idea how to solve this?
Letti
How can I turn off alias require???????
-
MODX Staff
- 10,725 Posts
You can turn off friendly URLs if you don’t want to have aliases for your Resources, enable automatic_alias and then edit it to the new Resource’s id once it is saved and has an id. But an id cannot be assigned to the alias (or the new uri field that is required in MODX 2.1+ when friendly URLs are enabled) for a new Resource and this is why it no longer works in MODX 2.1 this way. I’m open to proposals on a new method for automatically assigning something in the uri field when saving new Resources, but the id of the Resource is a problem at the moment.
I'm sorry to dig out this post, but I don't understand the last post, and it seems to me that I have the exact same problem: I use containers, in which several entries are stored, but those entries do not have a single site, there is just an overview of all entries. Thus they dont need aliases for these. And there are several doubles here.
But I want my containers to work with aliases. I.e. myurl.com/media/ should still work to show everything thats in the media resource container (with getresources in the template that is applied to this media resource container).
If I turn off FURLS, than myurl.com/media/ does not work anymore. If I turn it on, than I need to specify an alias. Well, I could create all those media-entries (and all the others) without FURLs, thus without aliases, and then turn FURLs on, but this is no solution for the productive environment (even more since entry authors should not have access to those system settings).
Another solution would be to influence the 'generate alias' algorithm (with a plugin) in a way it is always able to generate one. In my ModX installation (2.2.0) it cant resolve doubles, although it should be able to, afaik...
This solution would be a workaround, and not really a solution. I expect that there's a lot of people out there with similar applications, so there must be a real solution to this.
PS: I now realize that this is a Modx 2.1 post, but since it treats the same topic I still post here.