provide a nice url for each project, with configurable redirect
It would be nice (though i admit this would not be a core feature) to be able to have this kind of url:
instead of the not-very-great-from-a-marketing-point-of-view
Ideally this "nice project url" could be redirected to any page (wiki page, outside url, overview page...). I guess the default should be the project overview page.
(yes, this can be done from apache redirect stuff of course)
#1 Updated by Eric Davis about 9 years ago
Issue #1901 will provide RESTful urls for most of Redmine which would change the url to http://www.myredminesite.org/project/projectname. Markus Knittig has started on the refactoring in #1901 and #296 on Github. I'm planning on reviewing the patches and pulling them into the core after 0.8 is released.
#4 Updated by Gerrit Kaiser about 9 years ago
If there is interest, I can easily change my patch (#1901) to generate urls like
/ecookbook/wiki/page etc. That would not strictly follow Rails' URL conventions, but I think its well worth it for added readability. It would not preclude a Rails-style API for projects either (there would still be a /projects collection for managing them)
#5 Updated by Eric Davis about 9 years ago
- Status changed from New to Closed
- Resolution set to Wont fix
Gerrit Kaiser wrote:
That would not strictly follow Rails' URL conventions, but I think its well worth it for added readability.
I'd rather keep the urls using Rails' conversions. That will make them easier to figure out for people with experience with Rails and also would make scripting the urls so much easier (e.g. ActiveResource).
What might be useful is what Thomas said with "(yes, this can be done from apache redirect stuff of course)". Someone could build a plugin that would allow an administrator to enter urls to handle and destinations for those urls. Then the administrator could decide any url scheme they want (and override the built in ones for SSO, etc):
- /projectname => /project/projectname
- /login => https://single.sign.on.server.com/login.aspx?cmd=login_from_redmine
- / => /wiki/redmine/Overview
Thomas, would that be a good solution for you?
#6 Updated by Thomas Capricelli about 9 years ago
Yes, the plugin would be really great. What I dont like with the apache redirect idea it that one (or several) new redirect rules need to be added by the apache administrator for each new project.
If it is possible to do that for the redmine admin (as opposed to the apache admin) through a plugin, that would be fine.